home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / clang / gnumake.zip / CHANGELO < prev    next >
Text File  |  1994-05-21  |  286KB  |  7,677 lines

  1. Sat May 21 16:26:38 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2.  
  3.     * Version 3.71 released.
  4.  
  5.     * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID]
  6.     and [HAVE_SETGID].  Every system has those, and configure doesn't
  7.     check for them.
  8.  
  9.     * make.h [_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
  10.  
  11.     * compatMakefile (loadavg): Depend on and use loadavg.c instead of
  12.     getloadavg.c.
  13.     (loadavg.c): Link or copy it from getloadavg.c.
  14.     (distclean): Remove loadavg.c.
  15.  
  16. Mon May 16 22:59:04 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  17.  
  18.     * Version 3.70.4.
  19.  
  20.     * misc.c [GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID
  21.     and HAVE_SETEGID.
  22.  
  23.     * default.c (default_terminal_rules): In SCCS rules, put
  24.     $(SCCS_OUTPUT_OPTION) before $<.  On some systems -G is grokked
  25.     only before the file name.
  26.     * configure.in (SCCS_GET_MINUS_G check): Put -G flag before file name.
  27.  
  28. Tue May 10 16:27:38 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  29.  
  30.     * job.c (construct_command_argv_internal): Swallow
  31.     backslash-newline combinations inside '' strings too.
  32.  
  33. Thu May  5 04:15:10 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  34.  
  35.     * read.c (do_define): Call collapse_continuations on each line
  36.     before all else.
  37.  
  38. Mon Apr 25 19:32:02 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  39.  
  40.     * job.c (construct_command_argv_internal): Notice newline inside
  41.     '' string when RESTP is non-null.
  42.  
  43. Fri Apr 22 17:33:30 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  44.  
  45.     * Version 3.70.3.
  46.  
  47.     * remake.c (update_goal_chain): Reset FILE to G->file after the
  48.     double-colon loop so it is never null for following code.
  49.  
  50.     * read.c (read_makefile): Fix `override define' parsing to skip
  51.     whitespace after `define' properly.
  52.  
  53.     * compatMakefile (srcdir): Define as @srcdir@; don't reference
  54.     $(VPATH).
  55.     (glob/Makefile): New target.
  56.  
  57. Thu Apr 21 16:16:55 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  58.  
  59.     * Version 3.70.2.
  60.  
  61.     * misc.c (remove_comments): Use find_char_unquote.
  62.     * make.h (find_char_unquote): Declare it.
  63.     * read.c (find_char_unquote): New function, generalized from
  64.     find_percent.
  65.     (find_percent, find_semicolon, parse_file_seq): Use that.
  66.  
  67. Wed Apr 20 18:42:39 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  68.  
  69.     * implicit.c (pattern_search): Always allocate new storage for
  70.     FILE->stem.  It is not safe to store STEM's address because it
  71.     might be auto storage.
  72.  
  73.     * configure.in: Check for seteuid and setegid.
  74.     * misc.c [HAVE_SETEUID]: Declare seteuid.
  75.     [HAVE_SETEGID]: Declare setegid.
  76.     (make_access, user_access) [HAVE_SETEUID]: Use seteuid.
  77.     [HAVE_SETEGID]: Use setegid.
  78.  
  79.     * remake.c (update_goal_chain): Set STATUS to FILE->update_status,
  80.     to preserve whether it's 2 for error or 1 for -q trigger.  When
  81.     STATUS gets nonzero and -q is set, always stop immediately.
  82.     * main.c (main, decode_switches): Die with 2 for errors.
  83.     (main): Accept 2 return from update_goal_chain and die with that.
  84.     * misc.c (fatal, makefile_fatal): Die with 2; 1 is reserved for -q
  85.     answer.
  86.     * job.c (reap_children): Die with 2 for error.
  87.     (start_job_command): Set update_status to 2 for error.  Set it to
  88.     1 when we would run a command and question_flag is set.
  89.  
  90.     * read.c (read_makefile): Don't mark makefiles as precious.  Just
  91.     like other targets, they can be left inconsistent and in need of
  92.     remaking by aborted commands.
  93.  
  94.     * read.c (read_makefile): Write no error msg for -include file.
  95.  
  96. Tue Apr  5 05:22:19 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  97.  
  98.     * commands.c (fatal_error_signal): Don't unblock signals.
  99.  
  100.     * file.h (struct file): Change member `double_colon' from flag to
  101.     `struct file *'.
  102.     * read.c (record_files): Set double_colon pointer instead of flag.
  103.     * main.c (main): When disqualifying makefiles for updating, use
  104.     double_colon pointer to find all entries for a file.
  105.     * file.c (enter_file): If there is already a double-colon entry
  106.     for the file, set NEW->double_colon to that pointer.
  107.     (file_hash_enter): Use FILE->double_colon to find all entries to
  108.     set name.
  109.     * remake.c (update_goal_chain): Do inner loop on double-colon entries.
  110.     (update_file): Use FILE->double_colon pointer to find all entries.
  111.     (f_mtime): Likewise.
  112.     (notice_finished_file): Propagate mtime change to all entries.
  113.  
  114.     * variable.c (try_variable_definition): Return after abort.
  115.  
  116. Fri Apr  1 18:44:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  117.  
  118.     * read.c (read_makefile): Remove unused variable.
  119.     (parse_file_seq): When removing an elt that is just `)', properly
  120.     fix up the previous elt's next pointer.
  121.  
  122. Mon Mar 28 18:31:49 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
  123.  
  124.     * configure.in: Do AC_SET_MAKE.
  125.     * GNUmakefile (Makefile.in): Edit MAKE assignment into @SET_MAKE@.
  126.  
  127. Fri Mar  4 00:02:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  128.  
  129.     * function.c (subst_expand): If BY_WORD or SUFFIX_ONLY is set and
  130.     the search string is the empty string, find a match at the end of
  131.     each word (using end_of_token in place of sindex).
  132.  
  133.     * misc.c (end_of_token): Don't treat backslashes specially; you
  134.     can no longer escape blanks with backslashes in export, unexport,
  135.     and vpath.  This was never documented anyway.
  136.  
  137. Thu Mar  3 23:53:46 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  138.  
  139.     * read.c (read_makefile): Variable name for `define' is not just
  140.     first token; use whole rest of line and strip trailing blanks.
  141.  
  142. Wed Feb 16 16:03:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  143.  
  144.     * Version 3.70.1.
  145.  
  146.     * read.c (read_makefile): Add -d msg stating args.
  147.  
  148.     * read.c (read_makefile): Use isspace to skip over leading
  149.     whitespace, and explicitly avoid skipping over tabs.  Don't want
  150.     to skip just spaces though; formfeeds et al should be skipped.
  151.  
  152.     * default.c (default_variables) [__hpux]: Add f in ARFLAGS.
  153.  
  154.     * arscan.c (ar_name_equal) [__hpux]: Subtract 2 instead of 1 from
  155.     sizeof ar_name for max length to compare.
  156.  
  157.     * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Undefine HAVE_SETREUID
  158.     #ifdef HAVE_SETUID; likewise HAVE_SETREGID and HAVE_SETGID.
  159.  
  160.     * main.c (main): Call user_access after setting `program', in case
  161.     it needs to use it in an error message.
  162.  
  163.     * read.c (read_makefile): Ignore an empty line starting with a tab.
  164.  
  165. Thu Feb 10 21:45:31 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  166.  
  167.     * configure.in (AC_SYS_SIGLIST_DECLARED): Use this instead of
  168.     AC_COMPILE_CHECK that is now its contents.
  169.  
  170. Fri Feb  4 16:28:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  171.  
  172.     * make.h: #undef strerror after #include <string.h>.
  173.     [! ANSI_STRING]: Declare strerror.
  174.  
  175. Thu Feb  3 02:21:22 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  176.  
  177.     * misc.c (strerror): #undef any macro before function definition.
  178.  
  179. Mon Jan 31 19:07:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  180.  
  181.     * variable.c (try_variable_definition): Calculate BEG before loop
  182.     to strip blanks by decrementing END.  Don't decr END to before BEG.
  183.  
  184.     * read.c (read_makefile): Skip over leading space characters, but
  185.     not tabs, after removing continuations and comments (it used to
  186.     use isspace).
  187.  
  188. Tue Jan 25 16:45:05 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  189.  
  190.     * variable.c (define_automatic_variables): In $(@D) et al, use
  191.     patsubst to remove trailing slash.
  192.  
  193.     * commands.c (delete_target): New function, broken out of
  194.     delete_child_targets.  Check for archive members and give special msg.
  195.     (delete_child_targets): Use delete_target.
  196.  
  197. Mon Jan 17 17:03:22 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  198.  
  199.     * default.c (default_suffix_rules): Use $(TEXI2DVI_FLAGS) in
  200.     texi2dvi rules.    Use $(MAKEINFO_FLAGS) in makeinfo rules.
  201.  
  202. Tue Jan 11 19:29:55 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  203.  
  204.     * GNUmakefile (tarfiles): Omit make-doc.
  205.     (make-$(version).tar): Include make.info*.
  206.  
  207. Fri Jan  7 16:27:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  208.  
  209.     * compatMakefile (configure, config.h.in): Comment out rules.
  210.  
  211. Thu Jan  6 18:08:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  212.  
  213.     * compatMakefile (binprefix, manprefix): New variables.
  214.     (instname): Variable removed.
  215.     (install): Use $({bin,man}prefix)make in place of $(instname).
  216.     File targets likewised renamed.
  217.  
  218. Mon Jan  3 17:50:25 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  219.  
  220.     * Version 3.70 released.
  221.  
  222. Thu Dec 23 14:46:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  223.  
  224.     * Version 3.69.3.
  225.  
  226.     * read.c (parse_file_seq): Inside multi-word archive ref
  227.     translation loop, check NEW1==0 at end and break out of the loop.
  228.  
  229.     * GNUmakefile (make-$(version).tar): Distribute install.sh.
  230.     * install.sh: New file.
  231.  
  232.     * configure.in (SCCS_GET_MINUS_G check): Put redirection for admin
  233.     cmds outside subshell parens, to avoid "command not found" msgs
  234.     from the shell.
  235.  
  236. Wed Dec 22 17:00:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  237.  
  238.     * configure.in (SCCS_GET_MINUS_G check): Put -G flag last in get cmd.
  239.     Redirect output & error from get to /dev/null.
  240.     Fix reversed sense of test.
  241.  
  242. Fri Dec 17 15:31:36 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  243.  
  244.     * configure.in (SCCS_GET_MINUS_G check): Use parens instead of
  245.     braces inside if condition command; some shells lose.
  246.  
  247. Thu Dec 16 15:10:23 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  248.  
  249.     * Version 3.69.2.
  250.  
  251.     * arscan.c [M_UNIX]: Move #undef M_XENIX for PORTAR stuff.
  252.     (PORTAR) [M_XENIX]: Define to 0 instead of 1.
  253.  
  254.     * main.c (define_makeflags): Only export MAKEFLAGS if !ALL.
  255.  
  256. Wed Dec 15 17:47:48 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  257.  
  258.     * main.c (main): Cast result of pointer arith to unsigned int
  259.     before passing to define_variable for envars.  Matters when
  260.     sizeof(unsigned)!=sizeof(ptrdiff_t).
  261.  
  262. Tue Dec 14 14:21:16 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  263.  
  264.     * configure.in: Add new check for SCCS_GET_MINUS_G.
  265.     * config.h.in: Add #undef SCCS_GET_MINUS_G.
  266.     * default.c (default_terminal_rules): Use `$(SCCS_OUTPUT_OPTION)' in
  267.     place of `-G $@' in SCCS commands.
  268.     (default_variables) [SCCS_GET_MINUS_G]: Define SCCS_OUTPUT_OPTION
  269.     to "-G$@".
  270.  
  271.     * configure.in (AC_OUTPUT): Put touch stamp-config in second arg
  272.     (so it goes in config.status), rather than afterward.
  273.  
  274.     * ar.c (ar_member_date): Don't call enter_file on the archive file
  275.     if it doesn't exist (by file_exists_p).
  276.  
  277.     * compatMakefile ($(infodir)/make.info): Replace `$$d/foo.info'
  278.     with `$$dir/make.info' in install-info invocation (oops).
  279.  
  280.     * vpath.c (construct_vpath_list): Only set LASTPATH set PATH when
  281.     we do not unlink and free PATH.
  282.  
  283.     * file.c (print_file_data_base): Fix inverted calculation for
  284.     average files per hash bucket.
  285.  
  286.     * read.c (readline): When we see a NUL, give only a warning and
  287.     synthesize a newline to terminate the building line (used to
  288.     fatal).  Move fgets call into the loop condition, and after the
  289.     loop test ferror (used to test !feof in the loop).
  290.  
  291. Fri Dec  3 16:40:31 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  292.  
  293.     * configure.in: Check for strerror in AC_HAVE_FUNCS.
  294.  
  295. Thu Dec  2 15:37:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  296.  
  297.     Differentiate different flavors of missing makefile error msgs,
  298.     removing gratuitous `fopen: ' and giving caller for included makefiles.
  299.     * misc.c [! HAVE_STRERROR]: Define our own strerror here.
  300.     (perror_with_name, pfatal_with_name): Use strerror instead of
  301.     replicating its functionality.
  302.     * read.c (read_makefile): Return int instead of void.
  303.     (read_all_makefiles, read_makefile): Change callers to notice zero
  304.     return and give error msg.
  305.  
  306. Thu Nov 11 11:47:36 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  307.  
  308.     * Version 3.69.1.
  309.  
  310.     * default.c: Put `-G $@' before $< in SCCS cmds.
  311.  
  312. Wed Nov 10 06:06:14 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  313.  
  314.     * read.c (read_makefile): After trying a variable defn, notice if
  315.     the line begins with a tab, and diagnose an error.
  316.  
  317. Sun Nov  7 08:07:37 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  318.  
  319.     * Version 3.69.
  320.  
  321. Wed Nov  3 06:54:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  322.  
  323.     * Version 3.68.10.
  324.  
  325.     * implicit.c (try_implicit_rule): Look for a normal rule before an
  326.     archive rule.
  327.  
  328. Fri Oct 29 16:45:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  329.  
  330.     * function.c (expand_function: `sort'): Double NWORDS when it
  331.     overflows, instead of adding five.
  332.  
  333.     * compatMakefile (clean): Remove loadavg.
  334.  
  335. Wed Oct 27 17:58:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  336.  
  337.     * Version 3.68.9.
  338.  
  339.     * file.h (NEW_MTIME): Define new macro.
  340.     * main.c (main): Set time of NEW_FILES to NEW_MTIME, not to
  341.     current time returned from system.  Removed variable NOW.
  342.     * remake.c (notice_finished_file): Use NEW_MTIME in place of
  343.     current time here too.
  344.  
  345. Tue Oct 26 19:45:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  346.  
  347.     * Version 3.68.8.
  348.  
  349.     * remake.c (update_file_1): Don't clear MUST_MAKE when FILE has no
  350.     cmds and !DEPS_CHANGED unless also !NOEXIST.
  351.  
  352. Mon Oct 25 15:25:21 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  353.  
  354.     * read.c (parse_file_seq): When converting multi-word archive
  355.     refs, ignore a word beginning with a '('.
  356.  
  357. Fri Oct 22 02:53:38 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  358.  
  359.     * configure.in: Check for sys/timeb.h.
  360.     * make.h [HAVE_SYS_TIMEB_H]: Test this before including it.
  361.  
  362. Thu Oct 21 16:48:17 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  363.  
  364.     * Version 3.68.7.
  365.  
  366.     * rule.c (convert_suffix_rule): New local TARGPERCENT.  Set it to
  367.     TARGNAME+1 for "(%.o)", to TARGNAME for "%.?".  Use it in place of
  368.     TARGNAME to initialize PERCENTS[0].
  369.  
  370. Mon Oct 18 06:49:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  371.  
  372.     * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
  373.     Remove AC_USG; it is no longer used.
  374.  
  375.     * file.c (print_file): New function, broken out of
  376.     print_file_data_base.
  377.     (print_file_data_base): Call it.
  378.     * rule.c (print_rule): New function, broken out of
  379.     print_rule_data_base.
  380.     (print_rule_data_base): Call it.
  381.  
  382. Thu Oct 14 14:54:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  383.  
  384.     * default.c (install_default_suffix_rules): New function, broken
  385.     out of install_default_implicit_rules.
  386.     (install_default_implicit_rules): Move suffix rule code there.
  387.     * make.h: Declare install_default_suffix_rules.
  388.     * main.c (main): Call install_default_suffix_rules before reading
  389.     makefiles.  Move convert_to_pattern call before
  390.     install_default_implicit_rules.
  391.  
  392.     * job.h (struct child): Make `pid' member type `pid_t' instead of
  393.     `int'.
  394.  
  395.     * compatMakefile (RANLIB): New variable, set by configure.
  396.     (glob/libglob.a): Pass RANLIB value down to submake.
  397.  
  398.     Fixes for SCO 3.2 "devsys 4.2" from pss@tfn.com (Peter Salvitti).
  399.     * make.h: Include <sys/timeb.h> before <time.h> for SCO lossage.
  400.     * job.c [! getdtablesize] [! HAVE_GETDTABLESIZE]: If NOFILE is not
  401.     defined but NOFILES_MAX is, define it to be that.
  402.  
  403. Mon Oct 11 19:47:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  404.  
  405.     * GNUmakefile (make-$(version).tar): Depend on acconfig.h, so it
  406.     is distributed.
  407.  
  408. Sun Oct  3 15:15:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  409.  
  410.     * default.c (default_terminal_rules): Add `-G $@' to SCCS get cmds.
  411.  
  412. Tue Sep 28 14:18:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  413.  
  414.     * job.c (construct_command_argv_internal): Add ^ to SH_CHARS; it
  415.     is another symbol for | in some shells.
  416.     * main.c (main): Add it to CMD_DEFS quoting list as well.
  417.  
  418. Mon Sep 20 18:05:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  419.  
  420.     * job.c (construct_command_argv_internal): Remove '=' from
  421.     SH_CHARS.  Only punt on '=' if it is unquoted in a word before the
  422.     first word without an unquoted '='.
  423.  
  424.     * main.c (define_makeflags): Set v_export for MAKEFLAGS.
  425.  
  426. Fri Sep 17 00:37:18 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  427.  
  428.     * remake.c (update_file_1): Use .DEFAULT cmds for phony targets.
  429.  
  430.     * make.h [_AIX && _POSIX_SOURCE]: Define POSIX.
  431.  
  432.     * commands.c (delete_child_targets): Don't delete phony files.
  433.  
  434.     * job.c (start_job_command): Set COMMANDS_RECURSE in FLAGS if we
  435.     see a `+' at the beginning of the command line.
  436.  
  437. Thu Sep  9 17:57:14 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  438.  
  439.     * Version 3.68.6.
  440.  
  441. Wed Sep  8 20:14:21 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  442.  
  443.     * main.c (define_makeflags): Define MAKEFLAGS with o_file, not o_env.
  444.  
  445. Mon Aug 30 12:31:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  446.  
  447.     * expand.c (variable_expand): Fatal on an unterminated reference.
  448.  
  449. Thu Aug 19 16:27:53 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  450.  
  451.     * Version 3.68.5.
  452.  
  453.     * variable.c (define_automatic_variables): Define new o_default
  454.     variable `MAKE_VERSION' from version_string and remote_description.
  455.  
  456.     * make.h (version_string, remote_description): Declare these here.
  457.     * main.c: Don't declare version_string.
  458.     (print_version): Don't declare remote_description.
  459.  
  460. Wed Aug 18 15:01:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  461.  
  462.     * read.c (read_makefile): Free space pointed to by CONDITIONALS
  463.     before restoring the old pointer.
  464.  
  465. Mon Aug 16 17:33:36 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  466.  
  467.     * compatMakefile ($(objs)): Depend on config.h.
  468.  
  469.     * GNUmakefile (build.sh.in): Depend on compatMakefile.
  470.  
  471.     * configure.in: Touch stamp-config after AC_OUTPUT.
  472.  
  473. Fri Aug 13 16:04:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  474.  
  475.     * Version 3.68.4.
  476.  
  477. Thu Aug 12 17:18:57 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  478.  
  479.     * make.h: Include <config.h> instead of "config.h".
  480.  
  481. Wed Aug 11 02:35:25 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  482.  
  483.     * main.c (main): Make all variables interned from ENVP be v_export.
  484.     * variable.c (try_variable_definition): In v_default case, don't
  485.     check for an o_file variable that `getenv' finds.
  486.  
  487.     * job.c (reap_children): New local variable ANY_LOCAL; set it
  488.     while setting ANY_REMOTE.  If !ANY_LOCAL, don't wait for local kids.
  489.  
  490.     * main.c (main): Don't call decode_env_switches on MFLAGS.  DOC THIS.
  491.  
  492.     * function.c (expand_function): #if 0 out freeing of ENVP since it
  493.     is environ.
  494.  
  495. Mon Aug  9 17:37:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  496.  
  497.     * Version 3.68.3.
  498.  
  499.     * remote-stub.c (remote_status): Set errno to ECHILD before return.
  500.     * job.c (reap_children): Scan the chain for remote children and
  501.     never call remote_status if there are none.
  502.  
  503.     * function.c (expand_function: `shell'): #if 0 out calling
  504.     target_environment; just set ENVP to environ instead.
  505.  
  506.     * job.c (reap_children): Check for negative return from
  507.     remote_status and fatal for it.
  508.     When blocking local child wait returns 0, then try a blocking call
  509.     to remote_status.
  510.  
  511. Tue Aug  3 00:19:00 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  512.  
  513.     * compatMakefile (clean): Delete make.info* and make.dvi here.
  514.     (distclean): Not here.
  515.  
  516.     * dep.h (RM_*): Use #defines instead of enum to avoid lossage from
  517.     compilers that don't like enum values used as ints.
  518.  
  519. Mon Aug  2 16:46:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  520.  
  521.     * compatMakefile (loadavg): Add $(LOADLIBES).
  522.  
  523. Sun Aug  1 16:01:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  524.  
  525.     * Version 3.68.2.
  526.  
  527.     * compatMakefile (loadavg, check-loadavg): New targets.
  528.     (check): Depend on check-loadavg.
  529.  
  530.     * compatMakefile (glob/libglob.a): Depend on config.h.
  531.  
  532.     * misc.c (log_access): Write to stderr instead of stdout.
  533.  
  534. Fri Jul 30 00:07:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  535.  
  536.     * Version 3.68.1.
  537.  
  538. Thu Jul 29 23:26:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  539.  
  540.     * configure.in (SYS_SIGLIST_DECLARED): In test program include
  541.     <unistd.h> #ifdef HAVE_UNISTD_H.
  542.  
  543.     * compatMakefile (.PHONY): Put after `all' et al.
  544.  
  545.     * configure.in: Add AC_IRIX_SUN.
  546.  
  547. Wed Jul 28 17:41:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  548.  
  549.     * Version 3.68.
  550.  
  551. Mon Jul 26 14:36:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  552.  
  553.     * Version 3.67.8.
  554.  
  555. Sun Jul 25 22:09:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  556.  
  557.     * Version 3.67.7.
  558.  
  559.     * compatMakefile ($(infodir)/make.info): Don't use $(instname).
  560.     Run install-info script if present.
  561.  
  562. Fri Jul 23 16:03:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  563.  
  564.     * make.h [STAT_MACROS_BROKEN]: Test this instead of [uts].
  565.  
  566.     * configure.in: Add AC_STAT_MACROS_BROKEN.
  567.  
  568. Wed Jul 14 18:48:11 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  569.  
  570.     * Version 3.67.6.
  571.  
  572.     * read.c (read_makefile): Recognize directive `-include', like
  573.     `include' but sets RM_DONTCARE flag.
  574.  
  575.     * variable.c (target_environment): If FILE is nil, use
  576.     current_variable_set_list in place of FILE->variables.
  577.     * function.c (expand_function: `shell'): Get an environment for
  578.     the child from target_environment instead of using environ.
  579.  
  580.     * dep.h: Declare read_all_makefiles here.
  581.     (RM_*): Define new enum constants.
  582.     * read.c (read_makefile): Second arg is FLAGS instead of TYPE.
  583.     Treat it as a bit mask containing RM_*.
  584.     (read_all_makefiles): For default makefiles, set D->changed to
  585.     RM_DONTCARE instead of 1.
  586.     * main.c: Don't declare read_all_makefiles here.
  587.     (main): Check `changed' member of read_makefiles elts for RM_*
  588.     flags instead of specific integer values.
  589.  
  590. Mon Jul 12 22:42:17 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  591.  
  592.     * make.h [sequent && i386]: #undef POSIX.  From trost@cse.ogi.edu.
  593.  
  594. Thu Jul  8 19:51:23 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  595.  
  596.     * vpath.c (construct_vpath_list): If ELEM is zero 0, free PATTERN
  597.     as well as VPATH.
  598.     (build_vpath_lists): Empty `vpaths' around construct_vpath_list
  599.     call for $(VPATH).  Expand $(strip $(VPATH)), not just $(VPATH).
  600.  
  601.     * rule.c (convert_suffix_rule): Use alloca instead of xmalloc for
  602.     PERCENTS, whose storage is not consumed by create_pattern_rule.
  603.  
  604.     * make.h [__mips && _SYSTYPE_SVR3]: #undef POSIX.
  605.  
  606. Wed Jun 30 18:11:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  607.  
  608.     * Version 3.67.5.
  609.  
  610.     * rule.c (max_pattern_targets): New variable.
  611.     (count_implicit_rule_limits): Compute its value.
  612.     * rule.h: Declare it.
  613.     * implicit.c (pattern_search): Make TRYRULES max_target_patterns
  614.     times bigger.  Move adding new TRYRULES elt inside the inner
  615.     targets loop, so each matching target gets its own elt in MATCHES
  616.     and CHECKED_LASTSLASH.
  617.  
  618.     * file.c (remove_intermediates): If SIG!=0 say `intermediate file'
  619.     instead of just `file' in error msg.
  620.  
  621. Fri Jun 25 14:55:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  622.  
  623.     * job.c (construct_command_argv): Turn off
  624.     --warn-undefined-variables around expansion of SHELL and IFS.
  625.     * read.c (tilde_expand): Likewise for HOME.
  626.     (read_all_makefiles): Likewise for MAKEFILES.
  627.     * vpath.c (build_vpath_lists): Likewise for VPATH.
  628.  
  629.     * main.c (warn_undefined_variables_flag): New flag variable.
  630.     (switches): Add --warn-undefined-variables.
  631.     * make.h (warn_undefined_variables_flag): Declare it.
  632.     * expand.c (warn_undefined): New function.
  633.     (reference_variable): Call it if the variable is undefined.
  634.     (variable_expand): In substitution ref, call warn_undefined if the
  635.     variable is undefined.
  636.  
  637.     * default.c (default_pattern_rules): Add `%.c: %.w %.ch' and
  638.     `%.tex: %.w %.ch' rules.
  639.     (default_suffix_rules: .w.c, .w.tex): Pass three args: $< - $@.
  640.     (default_suffixes): Add `.ch'.
  641.  
  642. Mon Jun 21 17:55:39 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  643.  
  644.     * default.c (default_suffixes): Replace `.cweb' with `.w'.
  645.     (default_suffix_rules): Rename `.cweb.c' and `.cweb.tex' to `.w.c'
  646.     and `.w.tex'.
  647.  
  648. Fri Jun 11 14:42:09 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  649.  
  650.     * compatMakefile ($(bindir)/$(instname)): Add missing backslash.
  651.  
  652. Thu Jun 10 18:14:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  653.  
  654.     * Version 3.67.4.
  655.  
  656.     * read.c (multi_glob): Don't free OLD and OLD->name in the
  657.     FOUND!=0 fork.  Use new block-local variable F instead of
  658.     clobbering OLD.
  659.  
  660.     * ar.c (glob_pattern_p): New function, snarfed from glob/glob.c.
  661.     (ar_glob): Call it; return nil immediately if MEMBER_PATTERN
  662.     contains no metacharacters.
  663.  
  664. Wed Jun  9 16:25:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  665.  
  666.     * ar.c (ar_glob{_match,_alphacompare}): New function.
  667.  
  668.     * dep.h [! NO_ARCHIVES]: Declare it.
  669.     * read.c (multi_glob) [! NO_ARCHIVES]: Use it on archive member elts.
  670.  
  671.     * read.c (read_makefile): Pass flag (1) to parse_file_seq, not to
  672.     multi_glob (which doesn't take a 3rd arg).
  673.     * rule.c (install_pattern_rule): Likewise.
  674.     * default.c (set_default_suffixes): Here too.
  675.     * function.c (string_glob): Don't pass gratuitous arg to multi_glob.
  676.  
  677.     * read.c (parse_file_seq) [! NO_ARCHIVES]: Add post-processing
  678.     loop to translate archive refs "lib(a b)" into "lib(a) lib(b)".
  679.  
  680. Mon Jun  7 19:26:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  681.  
  682.     * compatMakefile (installdirs): Actually pass directory names.
  683.     ($(bindir)/$(instname)): Test chgrp&&chmod exit status with `if';
  684.     if it fails, echo a warning msg, but don't make the rule fail.
  685.  
  686.     * read.c (tilde_expand): New function, broken out of tilde_expand.
  687.     (multi_glob): Call it.
  688.     (construct_include_path): Expand ~ in directory names.
  689.     * dep.h: Declare tilde_expand.
  690.     * main.c (enter_command_line_file): Expand ~ at the start of NAME.
  691.     (main): Expand ~ in -C args.
  692.     * read.c (read_makefile): Expand ~ in FILENAME unless TYPE==2.
  693.  
  694. Fri Jun  4 13:34:47 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  695.  
  696.     * main.c (decode_env_switches): Use xmalloc instead of alloca for ARGS.
  697.  
  698.     * main.c (main): Put result of alloca in temporary variable with
  699.     simple assignment, to make SGI compiler happy.
  700.  
  701. Thu Jun  3 20:15:46 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  702.  
  703.     * Version 3.67.3.
  704.  
  705.     * main.c (main): Before re-execing, remove intermediate files, and
  706.     print the data base under -p.  Sexier debugging message.
  707.  
  708.     * implicit.c (pattern_search): Allocate an extra copy of the name
  709.     of a winning intermediate file when putting it in FOUND_FILES.
  710.  
  711. Wed Jun  2 16:38:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  712.  
  713.     * read.c (read_makefile): Pass flag (1) to parse_file_seq, not to
  714.     multi_glob (which doesn't take a 3rd arg).
  715.  
  716.     * dir.c (dir_contents_file_exists_p): When reading dirents, ignore
  717.     chars within D_NAMLEN that are NULs.
  718.  
  719.     * main.c (decode_switches): Don't savestring ARGV[0] to put it
  720.     into `other_args'.
  721.     For string switch, don't savestring `optarg'.
  722.     (main): Don't free elts of makefiles->list that are "-".
  723.     Use alloca'd rather than savestring'd storage for elts of
  724.     makefiles->list that are temporary file names.
  725.     * read.c (read_all_makefiles): Don't free *MAKEFILES.
  726.     * file.c (enter_file): Don't strip `./'s.
  727.     * main.c (enter_command_line_file): New function.
  728.     (main): Use it in place of enter_file for command-line goals from
  729.     other_files, and for old_files and new_files.
  730.  
  731. Mon May 31 18:41:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  732.  
  733.     * Version 3.67.2.
  734.  
  735.     * compatMakefile (.SUFFIXES): Add .info.
  736.     ($(infodir)/$(instname).info): Find make.info* in cwd if there,
  737.     else in $srcdir.  Use basename to remove dir name from installed name.
  738.  
  739. Thu May 27 17:35:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  740.  
  741.     * implicit.c (pattern_search): When interning FOUND_FILES, try
  742.     lookup_file first; if found, free the storage for our copy of the name.
  743.  
  744. Wed May 26 14:31:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  745.  
  746.     * Version 3.67.1.
  747.  
  748.     * main.c (decode_switches): In usage msg, write `--switch=ARG' or
  749.     `--switch[=OPTARG]' rather than `--switch ARG' or `--switch [ARG]'.
  750.  
  751. Mon May 24 16:17:31 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  752.  
  753.     * rule.c (convert_suffix_rule): New function.
  754.     (convert_to_pattern): Use it instead of doing all the work here
  755.     several times.
  756.     For target suffix `.a', generate both the archive magic rule and
  757.     the normal rule.
  758.  
  759.     * compatMakefile (distclean): Remove stamp-config.
  760.  
  761. Sat May 22 16:15:18 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  762.  
  763.     * Version 3.67.
  764.  
  765.     * file.c (remove_intermediates): Don't write extra space after `rm'.
  766.  
  767.     * main.c (struct command_switch.type): Remove `usage_and_exit'.
  768.     (print_usage_flag): New variable.
  769.     (switches: --help): Make type `flag', to set print_usage_flag.
  770.     (init_switches): Remove `usage_and_exit' case.
  771.     (decode_switches): Likewise.
  772.     (decode_switches): Print usage if print_usage_flag is set.
  773.     When printing usage, die with status of BAD.
  774.     (main): Die with 0 if print_version_flag.
  775.  
  776. Fri May 21 16:09:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  777.  
  778.     * Version 3.66.
  779.  
  780. Wed May 19 21:30:44 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  781.  
  782.     * compatMakefile (installdirs): New target.
  783.     (install): Depend on it.
  784.  
  785. Sun May 16 20:15:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  786.  
  787.     * Version 3.65.2.
  788.  
  789. Fri May 14 16:40:09 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  790.  
  791.     * vpath.c (construct_vpath_list): In removal loop for DIRPATH==0,
  792.     set LASTPATH to PATH, not NEXT.
  793.  
  794.     * dir.c (read_dirstream): Break out of loop after incrementing
  795.     DS->buckets such that it reaches DIRFILE_BUCKETS; avoid trying to
  796.     dereference DS->contents->files[DIRFILE_BUCKETS].
  797.  
  798.     * read.c (read_makefile): Clear no_targets after reading a
  799.     targetful rule line.
  800.  
  801.     * main.c (main): If print_version_flag is set, exit after printing
  802.     the version.
  803.     (switches): Change --version docstring to say it exits.
  804.  
  805.     * make.h [butterfly]: #undef POSIX.
  806.  
  807. Wed May 12 15:20:21 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  808.  
  809.     * Version 3.65.1.
  810.  
  811.     * arscan.c (ar_scan) [! AIAMAG]: Don't declare LONG_NAME.
  812.     [AIAMAG]: Pass TRUNCATE flag arg to (*FUNCTION), always zero.
  813.  
  814.     * function.c (handle_function): Use fatal instead of
  815.     makefile_fatal when reading_filename is nil.
  816.  
  817.     * configure.in: Add AC_GETGROUPS_T.
  818.     * job.c (search_path): Use GETGROUPS_T in place of gid_t.
  819.  
  820. Sun May  9 15:41:25 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  821.  
  822.     * Version 3.65.
  823.  
  824. Fri May  7 18:34:56 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  825.  
  826.     * function.c (handle_function): Fatal for unmatched paren.
  827.  
  828. Thu May  6 16:13:41 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  829.  
  830.     * Version 3.64.3.
  831.  
  832.     * commands.c (handling_fatal_signal): New variable.
  833.     (fatal_error_signal): Set it.
  834.     * job.c (reap_children): Avoid nonreentrant operations if that is set.
  835.     * make.h: Declare handling_fatal_signal.
  836.  
  837.     * expand.c (reference_variable): New function, snippet of code
  838.     broken out of simple-reference case of variable_expand.
  839.     (variable_expand): Use it for simple refs.
  840.     (variable_expand): When checking for a computed variable name,
  841.     notice a colon that comes before the final CLOSEPAREN.  Expand
  842.     only up to the colon, and then replace the pending text with a
  843.     copy containing the expanded name and fall through to subst ref
  844.     handling.
  845.     (variable_expand): Don't bother expanding the name if a colon
  846.     appears before the first $.
  847.     (expand_argument): Use alloca instead of savestring.
  848.     (variable_expand): For subst ref, expand both sides of = before
  849.     passing to [pat]subst_expand.  Use find_percent instead of lindex
  850.     to check the lhs for a %.
  851.  
  852. Wed May  5 14:45:52 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  853.  
  854.     * Version 3.64.2.
  855.  
  856. Mon May  3 17:00:32 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  857.  
  858.     * arscan.c (ar_name_equal) [AIAMAG]: Abort if TRUNCATED is nonzero.
  859.  
  860.     * read.c (read_makefile): Pass extra arg of 1 to parse_file_seq,
  861.     not to multi_glob.
  862.  
  863. Thu Apr 29 19:47:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  864.  
  865.     * Version 3.64.1.
  866.  
  867.     * arscan.c (ar_scan): New local flag var LONG_NAME.  Set it when
  868.     we read the member name in any of the fashions that allow it to be
  869.     arbitrarily long.  Pass its negation to FUNCTION.
  870.     (describe_member): Take TRUNCATED from ar_scan and print it.
  871.     (ar_name_equal): Take new arg TRUNCATED; if nonzero, compare only
  872.     the first sizeof (struct ar_hdr.ar_name) chars.
  873.     (ar_member_pos): Take TRUNCATED from ar_scan, pass to ar_name_equal.
  874.     * ar.c (ar_member_date_1): Likewise.
  875.  
  876. Wed Apr 28 21:18:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  877.  
  878.     * job.c (reap_children): Before calling start_job_command to start
  879.     the next command line, reset C->remote by calling start_remote_job_p.
  880.  
  881. Mon Apr 26 15:56:15 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  882.  
  883.     * arscan.c (ar_scan): New local var NAMEMAP.
  884.     In loop, rename NAME to NAMEBUF; new var NAME is a pointer; new
  885.     flag IS_NAMEMAP.  When extracting the member name, always put a
  886.     null at its end first.  If the name is "//" or "/ARFILENAMES", set
  887.     IS_NAMEMAP.  If we have already read in NAMEMAP, and NAME looks
  888.     like " /N", get full name from NAMEMAP+N.
  889.     Else if NAME looks like "#1/N", read N chars from the
  890.     elt data to be the full name.  At end of loop, if IS_NAMEMAP, read
  891.     the elt's data into alloca'd NAMEMAP.
  892.     (ar_name_equal): #if 0 truncating code.
  893.  
  894.     * make.h: Don't declare vfork at all.  It returns int anyway,
  895.     unless <unistd.h> declared it; and we conflicted with some systems.
  896.  
  897.     * main.c (define_makeflags): If FLAGSTRING[1] is '-', define
  898.     MAKEFLAGS to all of FLAGSTRING, not &FLAGSTRING[1].  Don't want to
  899.     define it to something like "-no-print-directory".
  900.     Use %g format instead of %f for floating-valued things.
  901.  
  902. Thu Apr 22 18:40:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  903.  
  904.     * GNUmakefile (Makefile.in): Use a substitution ref on nolib-deps
  905.     to change remote-%.dep to remote-stub.dep.
  906.  
  907. Wed Apr 21 15:17:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  908.  
  909.     * Version 3.64.
  910.  
  911. Fri Apr 16 14:22:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  912.  
  913.     * compatMakefile (install): Remove - prefix from chgrp+chmod.
  914.  
  915.     * Version 3.63.8.
  916.  
  917. Thu Apr 15 18:24:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  918.  
  919.     * acconfig.h: New file; contains "#undef SCCS_GET" for autoheader.
  920.     * configure.in: If /usr/sccs/get exists, define SCCS_GET to that,
  921.     else to "get".
  922.     * default.c (default_variables): Set GET to macro SCCS_GET.
  923.  
  924.     * read.c (parse_file_seq): Take extra arg STRIP; strip `./' only
  925.     if nonzero.  I hope this is the last time this argument is added
  926.     or removed.
  927.     (read_makefile): Pass it 1 when parsing include file names.
  928.     Pass it 1 when parsing target file names.
  929.     Pass it 1 when parsing static pattern target pattern names.
  930.     * rule.c (install_pattern_rule): Pass it 1 when parsing rule deps.
  931.     * default.c (set_default_suffixes): Pass it 1 when parsing
  932.     default_suffixes.
  933.     * function.c (string_glob): Pass it 0 here.
  934.  
  935. Wed Apr 14 11:32:05 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  936.  
  937.     * misc.c (log_access): New function.
  938.     ({init,user,make,child}_access): Call it.
  939.     (child_access): Abort if !access_inited.
  940.  
  941.     * main.c (switches: --no-print-directory): Use 1 instead of -1 for
  942.     single-letter option.
  943.     (init_switches, decode_switches, define_makeflags): An option with
  944.     no single-letter version is no longer indicated by a value of -1;
  945.     instead a value that is !isalnum.
  946.     (init_switches): Don't put such switches into the string, only
  947.     into the long_option table.
  948.  
  949.     * make.h [!NSIG] [!_NSIG]: #define NSIG 32.
  950.  
  951.     * job.c [HAVE_WAITPID]: Remove #undef HAVE_UNION_WAIT.  AIX's
  952.     bsdcc defined WIF* to use union wait.
  953.  
  954.     * main.c (struct command_switch): Change member `c' to type int.
  955.     (switches): Make const.
  956.     (decode_switches): Use `const struct command_switch *'.
  957.     (define_makeflags): Likewise.
  958.  
  959.     * default.c (default_suffix_rules): Add `-o $@' to makeinfo rules.
  960.  
  961. Mon Apr 12 12:30:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  962.  
  963.     * Version 3.63.7.
  964.  
  965.     * configure.in (AC_HAVE_HEADERS): Check for string.h and memory.h.
  966.     Removed AC_MEMORY_H.
  967.     * make.h [USG, NeXT]: Don't test these.
  968.     [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING.
  969.     [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H.
  970.     [! ANSI_STRING]: Put decls of bcopy et al here.
  971.     [sparc]: Don't test this for alloca.h; HAVE_ALLOCA_H is sufficient.
  972.     [HAVE_SIGSETMASK]: Test this rather than USG.
  973.     [__GNU_LIBRARY__ || POSIX]: Don't #include <unistd.h> again.
  974.     * main.c (main): Handle SIGCHLD if defined, and SIGCLD if defined.
  975.     It doesn't hurt to do both if they are both defined, and testing
  976.     USG is useless.
  977.     * dir.c: Rationalize directory header conditionals.
  978.     * arscan.c [HAVE_FCNTL_H]: Test this rather than USG || POSIX.
  979.  
  980.     * default.c (default_suffixes): Add `.txinfo'.
  981.     (default_suffix_rules): Add `.txinfo.info' and `.txinfo.dvi' rules.
  982.  
  983.     * variable.c (try_variable_definition): Replace RECURSIVE flag
  984.     with enum FLAVOR, which can be simple, recursive, or append.
  985.     Recognize += as append flavor.  Set new variable VALUE in a switch
  986.     on FLAVOR.  For append flavor, prepend the variable's old value.
  987.     If the variable was previously defined recursive, set FLAVOR to
  988.     recursive; if it was defined simple, expand the new value before
  989.     appending it to the old value.  Pass RECURSIVE flag to
  990.     define_variable iff FLAVOR == recursive.
  991.  
  992.     * variable.c (try_variable_definition): Use alloca and bcopy for
  993.     NAME, instead of savestring.  Might as well use stack storage
  994.     since we free it immediately anyway.
  995.  
  996. Thu Apr  8 18:04:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  997.  
  998.     * job.c (start_waiting_jobs): Move decl of JOB outside of loop.
  999.  
  1000.     * main.c (define_makeflags): Rename `struct flag' member `switch'
  1001.     to `cs', which is not a reserved word.
  1002.  
  1003. Wed Apr  7 15:30:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1004.  
  1005.     * job.c (new_job): Call start_waiting_jobs first thing.
  1006.     (start_waiting_job): Changed return type from void to int.
  1007.     Return 0 when putting the child on the waiting_jobs chain.
  1008.     (start_waiting_jobs): Don't check load and job_slots here.
  1009.     Always take a job off the chain and call start_waiting_job on it;
  1010.     give up and return when start_waiting_job returns zero.
  1011.  
  1012.     * main.c (define_makeflags: struct flag): Change member `char c' to
  1013.     `struct command_switch *switch'.
  1014.     (ADD_FLAG): Set that to CS instead of CS->c.
  1015.     If CS->c is -1, increment FLAGSLEN for the long name.
  1016.     When writing out FLAGS, handle FLAGS->switch->c == -1 and write
  1017.     the long name instead.
  1018.  
  1019.     * compatMakefile (stamp-config): New target of old config.h rule.
  1020.     Touch stamp-config after running config.status.
  1021.     (config.h): Just depend on stamp-config, and have empty commands.
  1022.  
  1023. Mon Apr  5 20:14:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1024.  
  1025.     * job.c [HAVE_WAITPID]: #undef HAVE_UNION_WAIT.
  1026.  
  1027.     * configure.in (AC_HAVE_FUNCS): Check for psignal.
  1028.  
  1029. Fri Apr  2 17:15:46 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1030.  
  1031.     * main.c (long_option_aliases): Remove "new"; it is already an
  1032.     unambiguous prefix of "new-file".
  1033.  
  1034. Sun Mar 28 16:57:17 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1035.  
  1036.     * Version 3.63.6.
  1037.  
  1038. Wed Mar 24 14:26:19 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1039.  
  1040.     * vpath.c (selective_vpath_search): When adding the
  1041.     name-within-directory at the end of NAME, and we don't add a
  1042.     slash, don't copy FILENAME in one char too far into NAME.
  1043.  
  1044.     * variable.c (define_automatic_variables): Find default_shell's
  1045.     length with strlen, not numerology.
  1046.  
  1047. Wed Mar 17 20:02:27 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1048.  
  1049.     * main.c (define_makeflags): Add the elts of a string option in
  1050.     reverse order, so they come out right when reversed again.
  1051.  
  1052. Fri Mar 12 15:38:45 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1053.  
  1054.     * compatMakefile (make.info): Use `-o make.info'.
  1055.  
  1056. Thu Mar 11 14:13:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1057.  
  1058.     * compatMakefile (REMOTE): Set to @REMOTE@; change comments to
  1059.     reflect new use.
  1060.     (objs): Replace remote.o with remote-$(REMOTE).o.
  1061.     (srcs): Replace remote.c with remote-$(REMOTE).c.
  1062.     (remote.o): Rule removed.
  1063.  
  1064.     * configure.in (REMOTE): Subst this in Makefile et al; default "stub".
  1065.     Use AC_WITH to grok --with-customs arg to set REMOTE=cstms.
  1066.     * GNUmakefile (build.sh.in): Filter out remote-% from objs list.
  1067.     * build.template (REMOTE): New var; set to @REMOTE@.
  1068.     (objs): Add remote-${REMOTE}.o.
  1069.  
  1070. Wed Mar 10 15:12:24 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1071.  
  1072.     * Version 3.63.5.
  1073.  
  1074.     * implicit.c (pattern_search): Fix "dependent"->"dependency" in
  1075.     "Rejecting impossible" -d msg.
  1076.  
  1077.     * file.c (file_hash_enter): New local vars {OLD,NEW}BUCKET.  Store
  1078.     mod'd values there; never mod {OLD,NEW}HASH.
  1079.  
  1080. Mon Mar  8 13:32:48 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1081.  
  1082.     * remake.c [eta10]: Include <fcntl.h> instead of <sys/file.h>.
  1083.  
  1084.     * compatMakefile (VPATH): Set this to @srcdir@.
  1085.     (srcdir): Set this to $(VPATH).
  1086.  
  1087.     * main.c (main): New local var DIRECTORY_BEFORE_CHDIR.  Save in it
  1088.     a copy of CURRENT_DIRECTORY after the first getcwd.  Use it
  1089.     instead of CURRENT_DIRECTORY when chdir'ing back before re-execing.
  1090.  
  1091.     * remake.c (notice_finished_file): Pass missing SEARCH arg to f_mtime.
  1092.  
  1093.     * read.c (read_makefile): Remove extraneous arg to parse_file_seq.
  1094.  
  1095. Mon Feb 22 14:19:38 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1096.  
  1097.     * compatMakefile ($(infodir)/$(instname).info): Use , instead of /
  1098.     as the sed delimiter char.
  1099.  
  1100. Sun Feb 21 14:11:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1101.  
  1102.     * Version 3.63.4.
  1103.  
  1104.     * rule.h (struct rule): Removed `subdir' member.
  1105.     * rule.c (new_pattern_rule): No need to clear it.
  1106.     (count_implicit_rule_limits): Set the `changed' flag in each dep
  1107.     that refers to a nonexistent directory.  No longer set rule-global
  1108.     `subdir' flag with that information.
  1109.     (print_rule_data_base): Don't record info on `subdir' flags.
  1110.  
  1111.     * implicit.c (pattern_search): Check the DEP->changed flag rather
  1112.     than the (now gone) RULE->subdir flag.  Also test CHECK_LASTSLASH;
  1113.     if it is set, the file might exist even though the DEP->changed
  1114.     flag is set.
  1115.  
  1116.     * rule.c (count_implicit_rule_limits): Pass "", not ".", as file
  1117.     name arg to dir_file_exists_p to check for existence of directory.
  1118.  
  1119.     * implicit.c (pattern_search): Inside dep-finding loop, set
  1120.     CHECK_LASTSLASH from the value recorded in CHECKED_LASTSLASH[I],
  1121.     rather than computing it anew.
  1122.  
  1123.     * commands.c (set_file_variables): Must alloca space for PERCENT
  1124.     and copy it, to avoid leaving the trailing `)' in the value.
  1125.  
  1126.     * misc.c (remove_comments): Fixed backslash-checking loop
  1127.     condition to allow it to look at the first char on the line.
  1128.     P2 >= LINE, not P2 > LINE.
  1129.  
  1130.     * compatMakefile ($(bindir)/$(instname)): Before moving $@.new to
  1131.     $@, rm $@.old and mv $@ to $@.old.
  1132.  
  1133.     * variable.c (try_variable_definition): Take new args FILENAME and
  1134.     LINENO.  Fatal if the variable name is empty.
  1135.     * read.c (read_makefile): Change callers.
  1136.     * main.c (main): Likewise.
  1137.  
  1138.     * compatMakefile (group): Define to @KMEM_GROUP@, autoconf magic
  1139.     that configure will replace with the group owning /dev/kmem.
  1140.  
  1141. Mon Feb  8 14:26:43 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1142.  
  1143.     * vpath.c (vpath_search): Take second arg MTIME_PTR, pass thru to
  1144.     selective_vpath_search.
  1145.     (selective_vpath_search): Take second arg MTIME_PTR.
  1146.     If the dir cache thinks a file exists, stat it to make sure, and
  1147.     put the modtime in *MTIME_PTR.
  1148.     * remake.c (library_search): Take second arg MTIME_PTR.
  1149.     When we find a match, record its mtime there.
  1150.     Pass MTIME_PTR through to vpath_search to do same.
  1151.     (f_mtime): Pass &MTIME as new 2nd arg to {vpath,library}_search;
  1152.     store it in FILE->last_mtime if set nonzero.
  1153.     * implicit.c (pattern_search): Pass nil 2nd arg to vpath_search.
  1154.  
  1155.     * compatMakefile (remote.o): Prepend `$(srcdir)/' to `remote-*.c',
  1156.     so globbing looks somewhere it will find things.
  1157.  
  1158.     * compatMakefile ($(infodir)/$(instname).info): Install `make.info*'
  1159.     not `$(srcdir)/make.info*'; no need to use basename.
  1160.  
  1161. Fri Feb  5 12:52:43 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1162.  
  1163.     * Version 3.63.3.
  1164.  
  1165.     * compatMakefile (install): Add missing ;\s.
  1166.  
  1167.     Make -, @, and + prefixes on a pre-expanded command line affect
  1168.     all lines in the expansion, not just the first.
  1169.     * commands.h (struct commands): Replace `lines_recurse' member
  1170.     with `lines_flags'.
  1171.     (COMMANDS_{RECURSE,SILENT,NOERROR}): New macros, bits to set in
  1172.     that flag byte.
  1173.     * commands.c (chop_commands): Set `lines_flags' instead of
  1174.     `lines_recurse'.  Record not only + but also @ and - prefixes.
  1175.     * remake.c (notice_finished_file): Check the COMMANDS_RECURSE bit
  1176.     in FILE->cmds->lines_flags, rather than FILE->cmds->lines_recurse.
  1177.     * job.c (start_job_command): Replaced RECURSIVE and NOPRINT local
  1178.     var with FLAGS; initialize it to the appropriate `lines_flags' byte.
  1179.     Set CHILD->noerror if the COMMANDS_NOERROR bit is set in FLAGS.
  1180.     Set the COMMANDS_SILENT bit in FLAGS for a @ prefix.
  1181.  
  1182.     * remake.c (update_goal_chain): Set G->file to its prev after
  1183.     checking for G being finished, since that check needs to examine
  1184.     G->file.
  1185.  
  1186.     * configure.in (union wait check) [HAVE_WAITPID]: Try using
  1187.     waitpid with a `union wait' STATUS arg.  If waitpid and union wait
  1188.     don't work together, we should not use union wait.
  1189.  
  1190.     * Version 3.63.2.
  1191.  
  1192.     * remake.c (update_goal_chain): When G->file->updated, move
  1193.     G->file to its prev.  We aren't finished until G->file is nil.
  1194.  
  1195. Thu Feb  4 12:53:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1196.  
  1197.     * main.c (starting_directory): New global variable.
  1198.     (main): Set it to cwd after doing -Cs.
  1199.     (log_working_directory): Use it, rather than computing each time.
  1200.     * make.h: Declare it.
  1201.  
  1202.     * compatMakefile (SHELL): Define to /bin/sh for losing Unix makes.
  1203.  
  1204.     * main.c (decode_env_switches): Allocate (1 + LEN + 1) words for
  1205.     ARGV, rather than LEN words plus one byte.
  1206.  
  1207. Wed Feb  3 18:13:52 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1208.  
  1209.     * compatMakefile ($(bindir)/$(instname)): Put - before
  1210.     install_setgid command line, so its failure won't be an error.
  1211.     (infodir): New variable.
  1212.     (install): Depend on $(infodir)/$(instname).info.
  1213.     ($(infodir)/$(instname).info): New target.
  1214.  
  1215.     * read.c (read_makefile): If FILENAMES is nil when we see a line
  1216.     starting with a tab, don't treat it as a command.  Just fall
  1217.     through, rather than giving an error.
  1218.  
  1219.     * read.c (read_makefile): If the NO_TARGETS flag is set when we see a
  1220.     command line, don't clear it before continuing.  We want
  1221.     subsequent command lines to be ignored as well.
  1222.  
  1223.     * job.c (new_job): Before expanding each command line, collapse
  1224.     backslash-newline combinations that are inside var or fn references.
  1225.  
  1226. Mon Feb  1 16:00:13 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1227.  
  1228.     * compatMakefile (exec_prefix): Default to $(prefix), not /usr/local.
  1229.  
  1230.     * compatMakefile (make.info): Pass -I$(srcdir) to makeinfo.
  1231.  
  1232.     * job.c [POSIX] (unblock_sigs): Made global.
  1233.     [!POSIX] (unblock_sigs): Move defns to job.h.
  1234.     * job.h [POSIX] (unblock_sigs): Declare.
  1235.  
  1236. Sun Jan 31 19:11:05 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1237.  
  1238.     * read.c (read_makefile): In vpath parsing, after finding the
  1239.     pattern token, take entire rest of line as the search path, not
  1240.     just the next token.
  1241.  
  1242.     * compatMakefile (remote.o): Depend on remote-*.c.
  1243.  
  1244. Thu Jan 28 16:40:29 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1245.  
  1246.     * commands.c (set_file_variables): Don't define any F or D versions.
  1247.     * variable.c (define_automatic_variables): Define them here as
  1248.     recursively-expanded variables that use the dir and notdir funcs.
  1249.  
  1250.     * variable.c (target_environment): In v_default case, don't export
  1251.     o_default or o_automatic variables.
  1252.  
  1253.     * configure.in (union wait check): Remove ` and ' inside C code;
  1254.     they confuse the shell script.
  1255.  
  1256. Mon Jan 25 13:10:42 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1257.  
  1258.     * Version 3.63.1.
  1259.  
  1260.     * vpath.c (construct_vpath_list): When skipping further processing
  1261.     of an elt that is ".", don't also skip the code that pushes P past
  1262.     the next separator.
  1263.  
  1264.     * compatMakefile (distclean): Don't remove make-*.
  1265.  
  1266.     * configure.in (HAVE_UNION_WAIT): Try to use WEXITSTATUS if it's
  1267.     defined.  If one cannot use WEXITSTATUS with a `union wait'
  1268.     argument, we don't want to believe the system has `union wait' at all.
  1269.  
  1270.     * remake.c (update_file): Do nothing to print "up to date" msgs.
  1271.     (update_goal_chain): Do it here instead.
  1272.     Use the `changed' flag of each goal's `struct dep' to keep track
  1273.     of whether files_remade (now commands_started) changed around a
  1274.     call to update_file for that goal.
  1275.     When a goal is finished, and its file's update_status is zero (i.e.,
  1276.     success or nothing done), test the `changed' flag and give an "up
  1277.     to date" msg iff it is clear.
  1278.     * make.h (files_remade): Renamed to commands_started.
  1279.     * remake.c: Changed defn.
  1280.     (update_goal_chain): Changed uses.
  1281.     * job.c (start_job_command): Increment commands_started here.
  1282.     (reap_children): Not here.
  1283.  
  1284.     * remake.c (update_goal_chain): Don't do anything with files'
  1285.     `prev' members.  update_file now completely handles this.
  1286.  
  1287.     * variable.c (target_environment): Don't expand recursive
  1288.     variables if they came from the environment.
  1289.  
  1290.     * main.c (define_makeflags): For flags with omitted optional args,
  1291.     store {"", 0} with ADD_FLAG.  When constructing FLAGSTRING, a flag
  1292.     so stored cannot have more flags appended to the same word.
  1293.  
  1294. Fri Jan 22 14:46:16 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1295.  
  1296.     * variable.c (print_variable_set): In vars/bucket calculation,
  1297.     don't spuriously multiply by 100.
  1298.  
  1299.     * Version 3.63.
  1300.  
  1301.     * job.c [!HAVE_UNION_WAIT] (WTERMSIG, WCOREDUMP, WEXITSTATUS):
  1302.     Don't define if already defined.
  1303.  
  1304.     * remake.c (update_file): Don't keep track of the command_state before
  1305.     calling update_file_1.  Remove local variable COMMANDS_FINISHED,
  1306.     and don't test it to decide to print the "is up to date" msg.
  1307.     Testing for files_remade having changed should always be sufficient.
  1308.     The old method lost when we are called in the goal chain run on a
  1309.     makefile, because the makefile's command_state is already
  1310.     `cs_finished' from the makefile chain run.
  1311.  
  1312.     * misc.c [HAVE_SETRE[GU]ID]: Test these to decl setre[gu]id.
  1313.  
  1314.     * configure.in: Rewrote wait checking.
  1315.     Use AC_HAVE_HEADERS to check for <sys/wait.h>.
  1316.     Use AC_HAVE_FUNCS to check for waitpid and wait3.
  1317.     Use a compile check to test just for `union wait'.
  1318.     * job.c: Rewrote conditionals accordingly.
  1319.     [HAVE_WAITPID]: Test this only to define WAIT_NOHANG.
  1320.     [HAVE_WAIT3]: Likewise.
  1321.     [HAVE_UNION_WAIT]: Test this to define WAIT_T and W*.
  1322.  
  1323.     * configure.in: Set CFLAGS and LDFLAGS before all checks.
  1324.  
  1325.     * dir.c: Add static forward decls of {open,read}_dirstream.
  1326.  
  1327. Thu Jan 21 17:18:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1328.  
  1329.     * Version 3.62.31.
  1330.  
  1331.     * job.c [NGROUPS_MAX && NGROUPS_MAX==0]: #undef NGROUPS_MAX.
  1332.  
  1333.     * compatMakefile (CFLAGS, LDFLAGS): Set to @CFLAGS@/@LDFLAGS@.
  1334.     * build.template (CFLAGS, LDFLAGS): Same here.
  1335.     * configure.in: AC_SUBST(CFLAGS) and LDFLAGS.
  1336.     Set them to -g if not defined in the environment.
  1337.  
  1338.     * remake.c (library_search): Use LIBNAME consistently, setting it
  1339.     only once, to be the passed name sans `-l'.
  1340.     Pass new var FILE to be modified by vpath_search.
  1341.  
  1342. Mon Jan 18 14:53:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1343.  
  1344.     * Version 3.62.30.
  1345.  
  1346.     * job.c (start_waiting_jobs): Return when job_slots_used is equal to
  1347.     job_slots. 
  1348.  
  1349.     * configure.in: Add AC_CONST for the sake of getopt.
  1350.  
  1351.     * read.c (read_makefile): Continue after parsing `override'
  1352.     directive, rather than falling through to lossage.
  1353.     Check for EOL or blank after "override define".
  1354.  
  1355.     * compatMakefile (.c.o, remote.o): Put $(CFLAGS) after other switches.
  1356.  
  1357. Fri Jan 15 12:52:52 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1358.  
  1359.     * Version 3.62.29.
  1360.  
  1361.     * main.c (define_makeflags): After writing everything into
  1362.     FLAGSTRING, only back up two chars if [-1] is a dash, meaning we
  1363.     just wrote " -".  Always terminate the string at *P.
  1364.  
  1365.     * remake.c (library_search): When constructing names in std dirs,
  1366.     use &(*LIB)[2] for the stem, not LIBNAME (which points at the
  1367.     buffer we are writing into!).
  1368.  
  1369. Thu Jan 14 13:50:06 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1370.  
  1371.     * read.c (read_makefile): Set IN_IGNORED_DEFINE for "override
  1372.     define" when IGNORING is true.
  1373.  
  1374.     * compatMakefile (distclean): Remove config.status and build.sh.
  1375.  
  1376. Wed Jan 13 16:01:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1377.  
  1378.     * Version 3.62.28.
  1379.  
  1380.     * misc.c (xmalloc, xrealloc): Cast result of malloc/realloc to
  1381.     (char *).
  1382.  
  1383.     * arscan.c (ar_scan) [AIAMAG]: Cast read arg to (char *).
  1384.  
  1385.     * variable.c (define_automatic_variables): Override SHELL value for
  1386.     origin o_env_override as well as o_env.
  1387.  
  1388.     * GNUmakefile (build.sh.in): Don't replace %globobjs%.  Instead,
  1389.     add the names of the glob objects (w/subdir) to %objs%.
  1390.     * build.template (globobjs): Removed.
  1391.     Take basename of $objs before linking.
  1392.  
  1393. Tue Jan 12 12:31:06 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1394.  
  1395.     * Version 3.62.27.
  1396.  
  1397.     * configure.in (AC_OUTPUT): Also edit build.sh.
  1398.     * build.template: New file.
  1399.     * GNUmakefile (build.sh.in): New rule to create it from build.template.
  1400.     (make-$(version).tar.Z): Depend on build.sh.in.
  1401.  
  1402.     * main.c (die): Call print_data_base if -p.
  1403.     (main): Don't call it here.
  1404.  
  1405.     * compatMakefile (defines): Add @DEFS@.  configure should turn this
  1406.     into -DHAVE_CONFIG_H.
  1407.  
  1408. Mon Jan 11 14:39:23 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1409.  
  1410.     * Version 3.62.26.
  1411.  
  1412.     * misc.c (init_access): Surround with #ifdef GETLOADAVG_PRIVILEGED.
  1413.     ({make,user,child}_access) [! GETLOADAVG_PRIVILEGED]: Make no-op.
  1414.     * compatMakefile (install_setgid): New var, set by configure.
  1415.     (install): Install setgid $(group) only if $(install_setgid) is true.
  1416.  
  1417. Fri Jan  8 15:31:55 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1418.  
  1419.     * job.c (load_too_high): If getloadavg fails with errno==0, give a
  1420.     message saying that load limits are not supported.
  1421.  
  1422.     * vpath.c (construct_vpath_list): Rewrote path deletion code to
  1423.     not try to use PATH's next link after freeing PATH.
  1424.  
  1425.     * main.c (define_makeflags): Rewritten; now handles string-valued
  1426.     option, and has no arbitrary limits.
  1427.     (switches): Set `toenv' flag for -I and -v.
  1428.  
  1429.     * main.c (decode_env_switches): Cast return value of alloca to char *.
  1430.  
  1431.     * misc.c (child_access) [HAVE_SETREUID, HAVE_SETREGID]: Use
  1432.     setre[gu]id in place of set[gu]id.
  1433.  
  1434. Wed Jan  6 15:06:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1435.  
  1436.     * main.c (main): Define MAKEOVERRIDES, MAKE, and MAKE_COMMAND with
  1437.     origin o_default.
  1438.  
  1439.     * make.h [POSIX]: Don't test this to use ANSI_STRING.
  1440.     Testing STDC_HEADERS should be sufficient.
  1441.  
  1442.     * job.h: Declare start_waiting_jobs.
  1443.  
  1444.     * read.c (read_makefile): Add missing parens in if stmt that find
  1445.     conditional directives.
  1446.  
  1447.     * main.c (main): Declare init_dir.
  1448.     * implicit.c (pattern_search): Always use two % specs in a
  1449.     DEBUGP2, and always pass two non-nil args.
  1450.     Cast field width args to int.
  1451.     Add missing parens in !RULE->subdir if stmt.
  1452.     * function.c (expand_function, patsubst_expand): Add parens around
  1453.     assignments inside `while' stmts.
  1454.     * commands.c (print_commands): Cast field width args to int.
  1455.  
  1456.     * read.c (do_define): Cast return value of alloca to (char *).
  1457.  
  1458.     * main.c (init_switches): New function, broken out of decode_switches.
  1459.     (decode_switches): Take new arg ENV.  If set, ignore non-option
  1460.     args; print no error msgs; ignore options with clear `env' flags.
  1461.     (decode_env_switches): Rewritten to chop envar value into words
  1462.     and pass them to decode_switches.
  1463.     (switches): Set `env' flag for -I and -v.
  1464.  
  1465.     * dir.c (init_dir): Cast free to __glob_closedir_hook's type.
  1466.  
  1467. Tue Jan  5 14:52:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1468.  
  1469.     * Version 3.62.25.
  1470.  
  1471.     * job.c [HAVE_SYS_WAIT || !USG]: Don't #include <sys/time.h> and
  1472.     <sys/resource.h>.  <sys/time.h> interacts badly with <time.h>, and
  1473.     we don't need these anyway.
  1474.  
  1475.     * configure.in (AC_HAVE_FUNCS): Check for setre[gu]id.
  1476.     * misc.c ({user,make}_access): Test #ifndef HAVE_SETRE[GU]ID, not
  1477.     #ifdef POSIX || USG.  SunOS 4.1 is supposedly POSIX.1 compliant,
  1478.     but its set[gu]id functions aren't; its setre[gu]id functions work.
  1479.  
  1480.     * misc.c ({user,make,child}_access): Give name of caller in error msgs.
  1481.  
  1482.     * job.c (load_too_high): Say "cannot enforce load limit" in error msg.
  1483.  
  1484.     * configure.in: Call AC_PROG_CC.
  1485.     * compatMakefile (CC): Define to @CC@ (autoconf magic).
  1486.  
  1487.     * compatMakefile: Add .NOEXPORT magic target.
  1488.  
  1489. Mon Jan  4 17:00:03 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1490.  
  1491.     * main.c (print_version): Updated copyright to include 93.
  1492.  
  1493. Thu Dec 31 12:26:15 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1494.  
  1495.     * make.h [_AIX]: Don't declare alloca.
  1496.  
  1497. Tue Dec 29 13:45:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1498.  
  1499.     * Version 3.62.24.
  1500.  
  1501.     * compatMakefile (objs): Add signame.o.
  1502.     (srcs): Add signame.[ch].
  1503.  
  1504.     * compatMakefile (srcs): Add config.h.in.
  1505.     (remote.o): Add -I. before -I$(srcdir).
  1506.  
  1507. Mon Dec 28 15:51:26 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1508.  
  1509.     * Version 3.62.23.
  1510.  
  1511.     * read.c (readline): Fatal when LEN==0, indicating a line starting
  1512.     with a NUL.
  1513.     (readline): Take new arg LINENO, for use in error msg.
  1514.     (read_makefile, do_define): Pass it.
  1515.  
  1516.     * compatMakefile (glob/libglob.a): Pass -DHAVE_CONFIG_H in CPPFLAGS.
  1517.     (.c.o): Add -I. before -I$(srcdir).
  1518.  
  1519. Wed Dec 23 12:12:04 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1520.  
  1521.     * read.c (read_makefile): Accept and ignore a rule with no targets.
  1522.  
  1523.     * compatMakefile (ALLOCA_SRC): New variable.
  1524.     (srcs): Include its value.
  1525.  
  1526.     * read.c (struct conditional): Renamed member `max_ignoring' to
  1527.     `allocated'; added new member `seen_else'.
  1528.     (conditional_line): Initialize seen_else flag when starting an `if...';
  1529.     set it when we see an `else'; fatal if set when we see `else'.
  1530.     (read_makefile): Fatal "missing `endif'" if there are any pending
  1531.     conditionals, not just if we are still ignoring.
  1532.  
  1533. Tue Dec 22 15:36:28 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1534.  
  1535.     * compatMakefile (manext): Set to 1, not l.
  1536.     ($(mandir)/$(instname).$(manext)): Use $(srcdir) for make.man in cmds.
  1537.  
  1538.     * file.c (file_hash_enter): Don't call uniquize_deps here.
  1539.     * read.c (record_files): Likewise.
  1540.     * implicit.c (pattern_search): Likewise.
  1541.     * commands.c (set_file_variables): Call it only here.
  1542.  
  1543.     * default.c (default_variables) [__convex__]: FC=fc.
  1544.  
  1545.     * variable.c (target_environment): Expand the values of recursively
  1546.     expanded variables when putting them into the environment.
  1547.     * expand.c (recursively_expand): Made global.
  1548.     * make.h (recursively_expand): Declare it.
  1549.  
  1550.     * remake.c (check_dep): Set FILE->command_state to cs_deps_running
  1551.     when a dep's command_state is cs_running or cs_deps_running.
  1552.  
  1553.     * read.c (read_makefile): Changed error msg for spurious cmds to
  1554.     not say "first target".
  1555.  
  1556. Sun Dec 20 17:56:09 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  1557.  
  1558.     * configure.in: Do AC_CONFIG_HEADER right after AC_INIT.
  1559.     * make.h (HAVE_CONFIG_H): #include "config.h", then #define this.
  1560.     * compatMakefile (config.h, configure, config.h.in): New rules.
  1561.     (defines): Removed @DEFS@.
  1562.  
  1563. Thu Dec 17 16:11:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1564.  
  1565.     * compatMakefile (realclean): Just depend on distclean; no cmds.
  1566.     (distclean): Do what realclean did before; also remove Makefile and
  1567.     config.h; don't remove configure.
  1568.     (info, dvi): New targets; depend on make.{info,dvi}.
  1569.     (doc): Removed target.
  1570.     (MAKEINFO, TEXI2DVI): New vars.
  1571.     (make.info, make.dvi): Use them instead of explicit cmds.
  1572.  
  1573. Wed Dec 16 16:25:24 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1574.  
  1575.     * configure.in: Added fcntl.h to AC_HAVE_HEADERS.  getloadavg cares.
  1576.  
  1577. Wed Dec  9 15:21:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1578.  
  1579.     * main.c (long_option_aliases): Add --new-file alias for -W.
  1580.  
  1581.     * default.c (default_variables): Change all C++ to CXX and C++FLAGS
  1582.     to CXXFLAGS.
  1583.  
  1584.     * read.c (do_define): Expand the variable name before using it.
  1585.  
  1586.     * main.c (main): Define variable "MAKE_COMMAND" to argv[0];
  1587.     define "MAKE=$(MAKE_COMMAND) $(MAKEOVERRIDES)" always.
  1588.  
  1589.     * remake.c (library_search): Search for libNAME.a in cwd; look in
  1590.     vpath before looking in standard dirs, not after.
  1591.     Changed order of std dirs to: /lib, /usr/lib, ${prefix}/lib.
  1592.  
  1593. Mon Nov 23 14:57:34 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1594.  
  1595.     * default.c (default_pattern_rules, default_terminal_rules): Added
  1596.     brackets around initializers.
  1597.  
  1598.     * variable.c (try_variable_definition): Don't check for LINE[0]=='\t'.
  1599.     (try_variable_definition): Expand the name before defining the var.
  1600.  
  1601.     * job.c (init_siglist): Removed function.
  1602.     Removed decl of `sys_siglist'.
  1603.     * make.h [! HAVE_SYS_SIGLIST]: #include "signame.h".
  1604.     [HAVE_SYS_SIGLIST && !SYS_SIGLIST_DECLARED]: Declare sys_siglist
  1605.     only under these conditions.
  1606.     * main.c (main): Don't declare init_siglist.
  1607.     (main) [! HAVE_SYS_SIGLIST]: Call signame_init instead of init_siglist.
  1608.  
  1609. Wed Nov 18 14:52:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1610.  
  1611.     * read.c (record_files): Don't try to append to FIRSTDEPS if it's
  1612.     nil; instead just set it to MOREDEPS.
  1613.  
  1614. Mon Nov 16 17:49:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1615.  
  1616.     * vpath.c (construct_vpath_list): Initialize P to DIRPATH before
  1617.     loop that sets MAXELEM.
  1618.  
  1619. Fri Nov 13 18:23:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1620.  
  1621.     * Version 3.62.22.
  1622.  
  1623. Thu Nov 12 15:45:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1624.  
  1625.     * job.c (start_job_command): Under -n, increment files_remade after
  1626.     processing (i.e., printing) all command lines.
  1627.  
  1628. Tue Nov 10 15:33:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1629.  
  1630.     * read.c (record_files): Append new deps if this rule has no
  1631.     commands; prepend them to existing deps if this rule has no commands.
  1632.  
  1633.     * dir.c (open_dirstream): Return nil if DIR->contents->files is nil.
  1634.  
  1635.     * read.c (parse_file_seq): Removed last arg STRIP.  Always strip `./'s.
  1636.     (read_makefile): Changed callers.
  1637.     * function.c (string_glob): Likewise.
  1638.     * rule.c (install_pattern_rule): Likewise.
  1639.  
  1640. Mon Nov  9 17:50:16 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1641.  
  1642.     * remake.c (files_remade): Made global.
  1643.     (notice_finished_file): Don't increment files_remade here; this
  1644.     function gets called in many situations where no remaking was in
  1645.     fact done.
  1646.     * job.c (reap_children): Do it here instead, when we know that 
  1647.     actual commands have been run for the file.
  1648.     * make.h (files_remade): Declare it.
  1649.  
  1650. Thu Nov  5 18:26:10 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1651.  
  1652.     * vpath.c (construct_vpath_list): Allow blanks as well as colons to
  1653.     separate elts in the search path.
  1654.  
  1655.     * read.c (read_makefile): Don't fatal on extra tokens in `vpath'.
  1656.     The search path can contain spaces now.
  1657.  
  1658. Tue Nov  3 20:44:32 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1659.  
  1660.     * compatMakefile (check): New target; no-op.
  1661.  
  1662.     * file.c (file_hash_enter): Mod OLDHASH by FILE_BUCKETS after
  1663.     testing for OLDHASH==0 but before using the value.
  1664.     (rename_file): Don't mod OLDHASH by FILE_BUCKETS before passing it
  1665.     to file_hash_enter.
  1666.  
  1667.     * file.c (rename_file): Notice when OLDFILE->cmds came from
  1668.     default.c, and don't try to print ->filename in that case.
  1669.  
  1670. Sun Oct 25 01:48:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1671.  
  1672.     * remake.c (update_file): Don't process F->also_make here.
  1673.     (notice_finished_file): Don't process FILE->also_make if no attempt
  1674.     to update FILE was actually made.
  1675.     Fixed to call f_mtime directly to refresh their modtimes.
  1676.  
  1677. Sat Oct 24 22:08:59 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1678.  
  1679.     * read.c (find_percent): Don't increment P again after skipping
  1680.     an escaped %.
  1681.  
  1682.     * expand.c (variable_expand): In call to patsubst_expand, don't
  1683.     find `%'s ourselves; let that function do it.
  1684.  
  1685.     * read.c (read_makefile: record_waiting_files): Don't call
  1686.     record_files if FILENAMES is nil.
  1687.     (read_makefile): All alternatives in the parsing, except for rule
  1688.     lines, fall through to the end of the loop.  At the end of the
  1689.     loop, do record_waiting_files so we notice later spurious cmds.
  1690.  
  1691. Fri Oct 23 15:57:37 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1692.  
  1693.     * variable.c (define_automatic_variables): Free old value of SHELL
  1694.     before replacing it.
  1695.  
  1696. Thu Oct 15 18:57:56 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1697.  
  1698.     * compatMakefile (.c.o): Add -I$(srcdir)/glob to flags.
  1699.  
  1700.     * dir.c (open_dirstream): Cast return value to __ptr_t.
  1701.  
  1702.     * default.c (default_variables: "GET") [_IBMR2]: Use USG defn.
  1703.  
  1704.     * make.h (MAXPATHLEN): Moved out of #ifndef POSIX.
  1705.     (GET_PATH_MAX): Moved from #ifdef POSIX to #ifdef PATH_MAX #else.
  1706.     Define as (get_path_max ()).
  1707.     [! PATH_MAX] (NEED_GET_PATH_MAX): Define.
  1708.     [! PATH_MAX] (get_path_max): Declare fn.
  1709.     * misc.c [NEED_GET_PATH_MAX] (get_path_max): New function.
  1710.  
  1711. Mon Oct 12 13:34:45 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1712.  
  1713.     * Version 3.62.21.
  1714.  
  1715.     * job.c (sys_siglist): Only declare #ifndef SYS_SIGLIST_DECLARED.
  1716.     * make.h [! HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
  1717.     SYS_SIGLIST_DECLARED.
  1718.  
  1719.     * dir.c (file_impossible): When initializing DIR->contents, set
  1720.     DIR->contents->dirstream to nil.
  1721.  
  1722.     * compatMakefile (GLOB): Define new variable.
  1723.     (objs): Use it, rather than glob/libglob.a explicitly.
  1724.  
  1725.     * read.c (parse_file_seq): When stripping "./", handle cases like
  1726.     ".///foo" and "./////".
  1727.     * file.c (lookup_file, enter_file): Likewise.
  1728.  
  1729. Sun Oct 11 17:00:35 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1730.  
  1731.     * dir.c (struct dirstream, {open,read}_dirstream): New
  1732.     data type and functions to read a directory sequentially.
  1733.     (init_dir): New function to hook it into glob.
  1734.     * main.c (main): Call init_dir.
  1735.  
  1736.     * compatMakefile (objs): Added glob/libglob.a.
  1737.     * configure.in: Remove code to test for glob.
  1738.  
  1739. Fri Oct  9 12:08:30 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1740.  
  1741.     * read.c (record_files): Generalized test for NAME pointing
  1742.     somewhere into F->name.
  1743.  
  1744.     * variable.c (define_variable_in_set): Free old value when replacing.
  1745.  
  1746.     * read.c (do_define): Free the linebuffer before returning.
  1747.     (record_files): When clearing .SUFFIXES deps, free their data.
  1748.     (multi_glob): Free OLD and its data when replacing it with results
  1749.     of glob run.
  1750.  
  1751.     * commands.c (set_file_variables): Use alloca in place of xmalloc
  1752.     for temp space for $^, $?, et al.
  1753.  
  1754.     * dir.c (struct directory): New member `contents' replaces `files'
  1755.     and `dirstream'.
  1756.     (struct directory_contents): New type.
  1757.     (directories_contents): New hash table.
  1758.     (dir_struct_file_exists_p): Take a struct directory_contents.
  1759.     (dir_file_exists_p): Pass it the `contents' member of the dir found.
  1760.     (dir_struct_file_exists_p): Renamed to dir_contents_file_exists_p;
  1761.     made static.  Return 0 if DIR is nil (meaning it couldn't be stat'd).
  1762.     (dir_file_exists_p, find_directory): Change all callers.
  1763.     (file_impossible): Use DIR->contents, initializing it if nil.
  1764.     (print_dir_data_base): Use DIR->contents, and print out device and
  1765.     inode numbers with each directory.
  1766.  
  1767.     * Changes for performance win from John Gilmore <gnu@cygnus.com>:
  1768.     * dir.c (DIRECTORY_BUCKETS): Increase to 199.
  1769.     (DIRFILE_BUCKETS): Decrease to 107.
  1770.     (find_directory): Allocate and zero a multiple of
  1771.     sizeof (struct dirfile *), not of sizeof (struct dirfile).
  1772.     (dir_struct_file_exists_p): New function, nearly all code from
  1773.     dir_file_exists_p.
  1774.     (dir_file_exists_p): Just call find_directory+dir_struct_file_exists_p.
  1775.     * vpath.c (selective_vpath_search): Remove redundant
  1776.     dir_file_exists_p call.
  1777.  
  1778.     * configure.in: Comment out glob check; always use our code.
  1779.  
  1780. Fri Oct  2 19:41:20 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1781.  
  1782.     * make.h [! HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
  1783.     HAVE_SYS_SIGLIST; after doing #define sys_siglist _sys_siglist, we
  1784.     do have it.
  1785.  
  1786. Wed Sep 30 19:21:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1787.  
  1788.     * main.c (main): Don't do -w automatically if -s.
  1789.  
  1790. Tue Sep 29 21:07:55 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1791.  
  1792.     * main.c (printed_version): Move variable inside print_version.
  1793.     (print_version): Return immediately if printed_version is set.
  1794.     (die): Don't test printed_version here.
  1795.     (decode_switches): Under -v, do print_version before giving usage.
  1796.     (DESCRIPTION_COLUMN): New macro.
  1797.     (decode_switches): Use it when printing the usage message.
  1798.     Leave at least two spaces between options and their descriptions.
  1799.  
  1800. Fri Sep 25 13:12:42 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1801.  
  1802.     * Version 3.62.20.
  1803.  
  1804. Wed Sep 16 16:15:22 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1805.  
  1806.     * read.c (read_makefile): Save errno value from trying to open
  1807.     FILENAME, and restore it before erring; otherwise we get the errno
  1808.     value from the last elt of the search path.
  1809.  
  1810. Tue Sep 15 15:12:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1811.  
  1812.     * main.c (long_option_aliases): Add --stop for -S.
  1813.  
  1814.     * read.c (word1eq): Do strncmp before dereferencing someplace that
  1815.     may be out in space.
  1816.  
  1817. Wed Sep  9 15:50:41 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1818.  
  1819.     * remake.c (notice_finished_file): If all the command lines were
  1820.     recursive, don't do the touching.
  1821.  
  1822.     * job.c (start_job_command): Don't check for + here.
  1823.     * commands.c (chop_commands): Do it here instead.
  1824.  
  1825.     * default.c (default_terminal_rules): Prepend + to cmds for RCS.
  1826.  
  1827. Wed Sep  2 17:53:08 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1828.  
  1829.     * compatMakefile (objs): Include $(ALLOCA).
  1830.  
  1831.     * make.h [CRAY]: Move #define signal bsdsignal to before #includes.
  1832.  
  1833. Thu Aug 27 17:45:43 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  1834.  
  1835.     * read.c (default_include_directories): Add INCLUDEDIR first.
  1836.     * compatMakefile (includedir): Define.
  1837.     (defines): Add -D for INCLUDEDIR="$(includedir)".
  1838.  
  1839.     * read.c (read_makefile): Grok multiple files in `include';
  1840.     globbing too.
  1841.  
  1842.     * remake.c (library_search): New function.
  1843.     (library_file_mtime): Remove function.
  1844.     (f_mtime): Use library_search instead of library_file_mtime.
  1845.     * compatMakefile (libdir): Define.
  1846.     (defines): Add -D for LIBDIR="$(libdir)".
  1847.     * make.texinfo (Libraries/Search): Document change.
  1848.  
  1849.     * file.c (rename_file): Fix file_hash_enter call with missing arg.
  1850.  
  1851. Wed Aug 26 17:10:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1852.  
  1853.     * Version 3.62.19.
  1854.  
  1855.     * main.c (main): Set command_state to cs_finished for temp files
  1856.     made for stdin makefiles.
  1857.  
  1858.     * main.c (decode_switches): Don't tell getopt to return non-option
  1859.     args in order.
  1860.     Ignore an argument of `-'.
  1861.  
  1862. Thu Aug 20 13:36:04 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1863.  
  1864.     * job.c (start_job_command): If (touch_flag && !RECURSIVE), ignore
  1865.     the command line and go to the next.
  1866.     (notice_finished_file): Under -t, touch FILE.
  1867.     * remake.c (remake_file): Don't touch it here.
  1868.  
  1869. Wed Aug 19 16:06:09 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1870.  
  1871.     * function.c (pattern_matches): Use temporary for strlen (WORD)
  1872.     instead of two function calls.
  1873.  
  1874.     * compatMakefile (LOAD_AVG): Remove variable and comments.
  1875.  
  1876. Tue Aug 18 14:58:58 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1877.  
  1878.     * make.texinfo (Running): Node renamed to `make Invocation'.
  1879.  
  1880. Fri Aug 14 12:27:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1881.  
  1882.     * arscan.c (ar_name_equal): Don't compare [MAX-3..MAX] if
  1883.     NAMELEN != MEMLEN.
  1884.  
  1885. Thu Aug 13 17:50:09 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1886.  
  1887.     * Version 3.62.18.
  1888.  
  1889.     * main.c: Don't #include <time.h>; make.h already does.
  1890.  
  1891. Mon Aug 10 17:03:01 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1892.  
  1893.     * implicit.c (pattern_search): Fixed copying of suffix when building
  1894.     also_make elts.
  1895.  
  1896.     * function.c (expand_function: `shell'): Make sure BUFFER is
  1897.     null-terminated before replacing newlines.
  1898.  
  1899.     * compatMakefile (mandir): Use man$(manext), not always manl.
  1900.  
  1901. Sun Aug  2 01:42:50 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1902.  
  1903.     * rule.c (new_pattern_rule): Not static.
  1904.     * rule.h: Declare it.
  1905.  
  1906.     * file.c (file_hash_enter): New function, most code from rename_file.
  1907.     (rename_file): Call it.
  1908.     * file.h (file_hash_enter): Declare it.
  1909.  
  1910.     * dep.h: Doc fix.
  1911.  
  1912. Thu Jul 30 15:40:48 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1913.  
  1914.     * main.c (decode_switches): Handle usage_and_exit when building
  1915.     long options vector.
  1916.  
  1917.     * default.c (default_terminal_rules): Make RCS rules use $(CHECKOUT,v).
  1918.     (default_variables): Define CHECKOUT,v (hairy).
  1919.  
  1920.     * make.h [!HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
  1921.     sys_siglist to _sys_siglist.
  1922.  
  1923. Sun Jul 26 16:56:32 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1924.  
  1925.     * NEWS: Add header and tail copyright info like Emacs NEWS.
  1926.  
  1927.     * make.h [ANSI_STRING]: Don't #define index, rindex, bcmp, bzero,
  1928.     bcopy if already #define'd.
  1929.     [STDC_HEADERS] (qsort, abort, exit): Declare here.
  1930.     [! __GNU_LIBRARY__ && !POSIX]: Not here.
  1931.  
  1932.     * make.h [_AIX]: #pragma alloca first thing.
  1933.  
  1934.     * job.c (start_waiting_job): Set the command_state to cs_running
  1935.     when we queue a job on waiting_jobs.
  1936.  
  1937. Fri Jul 24 02:16:28 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1938.  
  1939.     * variable.c (define_automatic_variables): Use "" instead of nil
  1940.     for empty value.
  1941.  
  1942. Thu Jul 23 22:31:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1943.  
  1944.     * Version 3.62.17.
  1945.  
  1946.     * main.c (struct command_switch.type): Add alternative usage_and_exit.
  1947.     (command_switches): Add -h/--help.
  1948.  
  1949. Thu Jul 16 14:27:50 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1950.  
  1951.     * GNUmakefile (make-$(version).tar.Z): Include NEWS, not CHANGES.
  1952.     * README.template: Mention NEWS.
  1953.     * CHANGES: Renamed to NEWS.
  1954.  
  1955.     * main.c [! STDC_HEADERS] [sun]: Don't declare exit.
  1956.  
  1957. Tue Jul 14 18:48:41 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1958.  
  1959.     * main.c (main): Set -o files' command_states to cs_finished.
  1960.  
  1961.     * rule.c (count_implicit_rule_limits): Decrement num_pattern_rules
  1962.     when tossing a rule.
  1963.  
  1964.     * main.c (main): Use alloca only in simple local var assignment,
  1965.     for braindead SGI compiler.
  1966.  
  1967.     * rule.c (print_rule_data_base): Barf if num_pattern_rules is
  1968.     inconsistent with the number computed when listing them.
  1969.  
  1970. Mon Jul 13 17:51:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1971.  
  1972.     * commands.c (set_file_variables): For $? and $^ elts that are archive
  1973.     member refs, use member name only.
  1974.  
  1975. Fri Jul 10 00:05:04 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1976.  
  1977.     * variable.h (struct variable.export): Add new alternative v_ifset.
  1978.     * variable.c (target_environment): Check for it.
  1979.     (define_automatic_variables): Set it for MAKEFILES.
  1980.  
  1981. Thu Jul  9 21:24:28 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1982.  
  1983.     * compatMakefile (objs): Remove getloadavg.o; $(extras) gets it.
  1984.     (remote.o): Use $(srcdir)/remote.c, not $remote.c<.
  1985.     (distclean, mostlyclean): New targets.
  1986.  
  1987. Tue Jul  7 19:12:49 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1988.  
  1989.     * Version 3.62.16.
  1990.  
  1991.     * compatMakefile (config.status): Remove rule.
  1992.  
  1993.     * job.c (start_waiting_job): Free C after using C->file, not before.
  1994.  
  1995. Sat Jul  4 20:51:49 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1996.  
  1997.     * commands.c, job.c, main.c, make.h, remote-cstms.c: Use #ifdef
  1998.     HAVE_* instead of #ifndef *_MISSING.
  1999.     * configure.in: Use AC_HAVE_FUNCS instead of AC_MISSING_FUNCS (gone).
  2000.  
  2001. Thu Jul  2 18:47:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2002.  
  2003.     * main.c (main): makelevel>0 or -C implies -w.
  2004.  
  2005. Tue Jun 30 20:50:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2006.  
  2007.     * file.c, job.c, function.c: Don't #include <errno.h>.
  2008.     make.h: Do it here instead.
  2009.     * arscan.c (ar_member_touch): Don't declare errno.
  2010.  
  2011. Thu Jun 25 17:06:55 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2012.  
  2013.     * GNUmakefile (make-$(version).tar.Z): Depend on INSTALL, configure.in.
  2014.  
  2015.     * remake.c (update_file): If commands or deps are running after
  2016.     update_file_1 returns, break out of the :: rule (->prev) loop and
  2017.     just return.
  2018.  
  2019.     * job.c    (job_next_command): New function; code from start_job.
  2020.     (start_job_command): Renamed from start_job.  Call job_next_command
  2021.     and recurse for empty command lines and -n.
  2022.     (start_waiting_job): Call start_job_command, not start_job.
  2023.     (new_job): Call job_next_command to prime the child structure, and
  2024.     then call start_waiting_job.
  2025.     (reap_children): Use job_next_command and start_job_command.
  2026.     (start_waiting_job): Call start_remote_job_p here, and store its
  2027.     result in C->remote.  If zero, check the load average and
  2028.     maybe put C on waiting_jobs.
  2029.     (start_job_command): Test CHILD->remote rather than calling
  2030.     start_remote_job_p.  Don't do load avg checking at all here.
  2031.  
  2032.     * main.c (main): Don't handle SIGILL, SIGIOT, SIGEMT, SIGBUS,
  2033.     SIGSEGV, SIGFPE or SIGTRAP.
  2034.  
  2035.     * compatMakefile (glob/libglob.a): Don't pass srcdir to sub-make.
  2036.     configure will set it in glob/Makefile.
  2037.  
  2038. Wed Jun 24 19:40:34 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2039.  
  2040.     * dir.c [DIRENT] (direct): Don't define to dirent.
  2041.     [! DIRENT] (direct): Define to dirent.
  2042.     (dir_file_exists_p): Use struct dirent instead of struct direct.
  2043.  
  2044.     * make.h (getcwd): No space between macro and ( for args!
  2045.  
  2046.     * job.c (start_job): Don't put the job on waiting_jobs if
  2047.     job_slots_used==0.
  2048.  
  2049.     * make.texinfo (Missing): Shortened title.
  2050.  
  2051. Tue Jun 23 18:42:21 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2052.  
  2053.     * file.c (remove_intermediates): Print "rm" commands under -n.
  2054.  
  2055. Mon Jun 22 16:20:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2056.  
  2057.     * Version 3.62.15.
  2058.  
  2059. Fri Jun 19 16:20:26 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2060.  
  2061.     * arscan.c [M_UNIX]: #undef M_XENIX.
  2062.  
  2063. Wed Jun 17 17:59:28 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2064.  
  2065.     * default.c (default_terminal_rules): Put @ prefix on RCS cmds.
  2066.  
  2067. Tue Jun 16 19:24:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2068.  
  2069.     * compatMakefile (getloadavg.o): Removed special rule.
  2070.     (CFLAGS): Don't include $(defines).
  2071.     (.c.o): Define suffix rule.
  2072.     (glob/libglob.a): Pass CPPFLAGS=$(defines) to submake.
  2073.     (GETOPT_SRC, srcs, tagsrcs): Prefix files with $(srcdir)/.
  2074.  
  2075.     * arscan.c (ar_name_equal): Moved local vars inside #if'd block.
  2076.  
  2077.     * make.h (max): Removed.
  2078.     * expand.c (variable_buffer_output): Don't use it.
  2079.  
  2080.     * compatMakefile (INSTALL): Define.
  2081.     (Makefile): New rule to make from Makefile.in.
  2082.     (srcdir): Define.
  2083.     (VPATH): Define.
  2084.     (getloadavg.o, remote.o): Use autoconf $foo< hack.
  2085.  
  2086.     * commands.c (fatal_error_signal): Removed return.
  2087.  
  2088. Mon Jun 15 17:42:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2089.  
  2090.     * Version 3.62.14.
  2091.  
  2092.     * make.texinfo (Summary): New node.
  2093.     (Special Targets): Mention .EXPORT_ALL_VARIABLES here.
  2094.  
  2095.     * variable.c (max): Moved to make.h.
  2096.  
  2097.     * compatMakefile (objs, srcs): Added ar & arscan.
  2098.  
  2099.     * job.c (start_waiting_job): New function, 2nd half of new_job.
  2100.     (new_job): Call it.
  2101.     (start_waiting_jobs): New function.
  2102.     * remake.c (update_goal_chain): Call start_waiting_jobs at the top
  2103.     of the main loop.
  2104.     * compatMakefile (objs, srcs): Removed load, added getloadavg.
  2105.  
  2106. Fri Jun 12 19:33:16 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2107.  
  2108.     * job.c (load_too_high): New function.  Uses getloadavg.
  2109.     (waiting_jobs): New variable.
  2110.     (start_job): Don't call wait_to_start_job.  Instead, if
  2111.     load_too_high returns nonzero, add the child to the
  2112.     `waiting_jobs' chain and return without starting the job.
  2113.  
  2114. Thu Jun 11 00:05:28 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2115.  
  2116.     * expand.c (variable_buffer_output): Made global again.
  2117.     * variable.h: And declare it.
  2118.  
  2119.     * arscan.c (PORTAR): Define for all systems if PORT5AR is not defined.
  2120.     (AR_NAMELEN, AR_TRAILING_SLASH): Removed.
  2121.     (ar_scan): Don't use it.  Don't #ifdef AR_TRAILING_SLASH; just look
  2122.     for a slash in the archive at run time.
  2123.     (ar_name_equal): Rewrote .o hacking to not use AR_NAMELEN, and to
  2124.     cope with trailing-slash and non-trailing-slash archives.
  2125.  
  2126.     * main.c (main) [! SETVBUF_REVERSED]: Test this instead of USGr3 et al.
  2127.     [SETVBUF_REVERSED]: Always allocate a buffer ourselves.
  2128.  
  2129.     * load.c (load_average) [sgi]: Use sysmp call.
  2130.  
  2131.     * compatMakefile (INSTALL_DATA, INSTALL_PROGRAM): Define.
  2132.     ($(bindir)/$(instname), $(mandir)/make.$(manext)): Use them.
  2133.  
  2134.     * make.h [HAVE_VFORK_H]: #include <vfork.h>.
  2135.     (vfork, VFORK_NAME): Don't define.
  2136.     * job.c (start_job): Use "vfork" in place of VFORK_NAME.
  2137.  
  2138.     * make.h [HAVE_LIMITS_H, HAVE_SYS_PARAM_H]: If #define'd, #include
  2139.     the each file.  Rearranged PATH_MAX hacking.
  2140.     * job.c: Rearranged NGROUPS_MAX hacking.
  2141.  
  2142.     * remake.c (fstat, time): Don't declare.
  2143.  
  2144.     * compatMakefile (defines): Value is @DEFS@.
  2145.     (LOADLIBES): Value is @LIBS@.
  2146.     (extras): Value is @LIBOBJS@.
  2147.     (ARCHIVES, ARCHIVES_SRC, ALLOCASRC): Removed.
  2148.     * arscan.c, ar.c: Surround body with #ifndef NO_ARCHIVES.
  2149.  
  2150.     * misc.c [! HAVE_UNISTD_H]: Test instead of !POSIX to decl get*id.
  2151.  
  2152.     * make.h [GETCWD_MISSING]: Test instead of !USG && !POSIX et al.
  2153.     (getcwd): Just declare if present.  If not, declare as a macro
  2154.     using getwd, and declare getwd.
  2155.     [PATH_MAX] (GET_PATH_MAX): #define to PATH_MAX.
  2156.     * main.c (main,    log_working_directory): Use getcwd instead of getwd.
  2157.  
  2158.     * main.c (main) [SETLINEBUF_MISSING]: Test this instead of USG.
  2159.  
  2160.     * make.h (SIGHANDLER, SIGNAL): Removed.
  2161.     (RETSIGTYPE): Define if not #define'd.
  2162.     * main.c (main): Use signal in place of SIGNAL.
  2163.  
  2164.     * main.c [SYS_SIGLIST_MISSING]: Test instead of USG.
  2165.  
  2166.     * job.c (search_path) [GETGROUPS_MISSING]: Test instead of USG.
  2167.     [HAVE_UNISTD_H]: Test instead of POSIX to not decl getgroups.
  2168.  
  2169.     * main.c [! HAVE_UNISTD_H]: Test instead of !POSIX to decl chdir.
  2170.     [! STDC_HEADERS]: Test instead of !POSIX to decl exit & atof.
  2171.  
  2172.     * job.c (child_handler), commands.c (fatal_error_signal): Return
  2173.     RETSIGTYPE instead of int.
  2174.     * main.c (main): Declare fatal_error_signal and child_handler here
  2175.     to return RETSIGTYPE; removed top-level decl of former.
  2176.  
  2177.     * commands.c (fatal_error_signal), job.c (unblock_sigs, start_job),
  2178.     main.c [SIGSETMASK_MISSING]: Test this instead of USG.
  2179.  
  2180. Wed Jun 10 22:06:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2181.  
  2182.     * job.c [HAVE_WAITPID]: Test this instead of USG.
  2183.     [! HAVE_UNISTD_H]: Test this instead of !POSIX to declare misc fns.
  2184.     (GID_T): Don't #define.
  2185.     (search_path): Use gid_t instead of GID_T.
  2186.     [GETDTABLESIZE_MISSING, SYS_SIGLIST_MISSING, DUP2_MISSING]: Test
  2187.     these individually instead of USG for all.
  2188.     * make.h (ctime): Don't declare.  #include time.h instead.
  2189.     [HAVE_UNISTD_H]: #include <unistd.h> and #define POSIX #ifdef
  2190.     _POSIX_VERSION.
  2191.     * dir.c [__GNU_LIBRARY__] (D_NAMLEN): Define to use d_namlen member.
  2192.     * make.h [NEED_MEMORY_H]: Only include memory.h #ifdef this.
  2193.  
  2194.     * arscan.c: Removed #ifdef mess about string.h et al.
  2195.     Just #include make.h instead.
  2196.     * make.h (fstat, atol): Declare.
  2197.  
  2198.     * commands.c (fatal_error_signal): Don't use sigmask to check for
  2199.     propagated signals; use ||s instead.
  2200.     (PROPAGATED_SIGNAL_MASK): Removed.
  2201.     (fatal_error_signal) [POSIX]: Use sigprocmask in place of sigsetmask.
  2202.  
  2203.     * variable.c (variable_buffer, variable_buffer_length,
  2204.     initialize_variable_output, variable_output): Moved to expand.c;
  2205.     made all static.
  2206.     (struct output_state, save_variable_output,
  2207.     restore_variable_output): Removed.
  2208.     * expand.c (initialize_variable_output): Put a NUL at the beginning
  2209.     of the new buffer after allocating it.
  2210.     (allocated_variable_expand_for_file): Don't use
  2211.     {save,restore}_variable_output.  Do it by hand instead, keeping
  2212.     state on the stack instead of malloc'ing it.
  2213.     (allocated_variable_expand): Removed.
  2214.     * variable.h (allocated_variable_expand): Define here as macro.
  2215.     (variable_buffer_output, initialize_variable_output,
  2216.     save_variable_output, restore_variable_output): Removed decls.
  2217.  
  2218.     * read.c (conditional_line): For an if cmd, if any elt of the
  2219.     conditionals stack is ignoring, just push a new level that ignores
  2220.     and return 1; don't evaluate the condition.
  2221.  
  2222. Thu Jun  4 21:01:20 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2223.  
  2224.     * main.c (main): Put #ifdef's around frobbing SIGSYS and SIGBUS.
  2225.  
  2226.     * job.c (getdtablesize): Don't declare or #define if already #define'd.
  2227.  
  2228. Wed Jun  3 23:42:36 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2229.  
  2230.     * file.c (snap_deps): If `.EXPORT_ALL_VARIABLES' is a target, set
  2231.     export_all_variables.
  2232.     * make.texinfo (Variables/Recursion): Document .EXPORT_ALL_VARIABLES.
  2233.  
  2234. Tue Jun  2 21:08:35 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2235.  
  2236.     * Version 3.62.13.
  2237.  
  2238.     * commands.c (set_file_variables): Calculate length for ^D and ?D
  2239.     individually, making sure to give them at least enough space for "./".
  2240.  
  2241.     * make.h [CRAY]: #define signal to bsdsignal.
  2242.  
  2243.     * default.c (default_variables) [CRAY]: Define PC, SEGLDR,
  2244.     CF77PPFLAGS, CF77PP, CFT, CF, and FC.
  2245.  
  2246.     * arscan.c (AR_HDR_SIZE): Define to sizeof (struct ar_hdr), if it
  2247.     wasn't defined by <ar.h>.
  2248.  
  2249. Thu May 28 00:56:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2250.  
  2251.     * Version 3.62.12.
  2252.  
  2253. Tue May 26 01:26:30 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2254.  
  2255.     * rule.c (new_pattern_rule): Initialize LASTRULE to nil, not
  2256.     pattern_rules.
  2257.  
  2258. Mon May 25 19:02:15 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2259.  
  2260.     * main.c (decode_switches): Initialize all the long_option elt members.
  2261.  
  2262. Thu May 21 16:34:24 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2263.  
  2264.     * make.texinfo (Text Functions): Correct filter-out description.
  2265.  
  2266. Tue May 19 20:50:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2267.  
  2268.     * compatMakefile (realclean): Don't remove backup files.
  2269.  
  2270.     * main.c (decode_switches): Allocate ARGC+1 elts in `other_args'.
  2271.  
  2272. Sun May 17 16:38:48 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2273.  
  2274.     * Version 3.62.11.
  2275.  
  2276. Thu May 14 16:42:33 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2277.  
  2278.     * job.c (reap_children): Don't die if wait returns EINTR.
  2279.  
  2280. Wed May 13 18:28:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2281.  
  2282.     * job.c (reap_children): Always run the next command for a
  2283.     successful target.  If we are going to die, we don't want to leave
  2284.     the target partially made.
  2285.  
  2286. Tue May 12 00:39:19 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2287.  
  2288.     * job.c (construct_command_argv_internal): After loop, if we only
  2289.     have one word, check it for being a shell command.
  2290.  
  2291.     * main.c (decode_switches): Allocate ARGC slots in other_args to
  2292.     begin with, so we never need to worry about growing it.
  2293.     If we get a non-option arg and POSIXLY_CORRECT is in the
  2294.     environment, break out of the loop.  After the loop, add all remaining
  2295.     args to other_args list.
  2296.  
  2297.     * main.c (decode_switches): For positive_int and floating switches
  2298.     when optarg is nil, use next arg if it looks right (start with a
  2299.     digit, or maybe decimal point for floating).
  2300.  
  2301.     * variable.c (define_automatic_variables): Always set SHELL to
  2302.     default if it comes from the environment.  Set its export bit.
  2303.     * make.texinfo (Environment): Document change.
  2304.  
  2305. Mon May 11 00:32:46 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2306.  
  2307.     * Version 3.62.10.
  2308.  
  2309.     * compatMakefile (tags, TAGS): Use vars for cmds.
  2310.     (ETAGS, CTAGS): Define.
  2311.  
  2312.     * main.c (decode_switches): If a switches elt has a nil long_name,
  2313.     make the long option name elt be "".
  2314.     Fixed loop to not ignore all the options.
  2315.  
  2316.     * make.texinfo (Option Summary): Added long options.
  2317.  
  2318.     * main.c (switches): Changed -m's description to "-b".
  2319.     (decode_switches): When printing the usage message, don't print
  2320.     switches whose descriptions start with -.
  2321.     When constructing the list of names for switch -C, search the
  2322.     switches vector for switches whose descriptions are "-C".
  2323.  
  2324.     * main.c (switches): Call -S --no-keep-going, not --dont-keep-going.
  2325.     Call -I --include-dir, not --include-path.
  2326.     (long_option_aliases): Added --new == -W, --assume-new == -W,
  2327.     --assume-old == -o, --max-load == -l, --dry-run == -n, --recon == -n,
  2328.     --makefile == -f.
  2329.  
  2330.     * main.c (switches): Removed bogus "silent" elt.
  2331.     (long_option_aliases): Define new var.
  2332.     (decode_switches): Add long_option_aliases onto the end of the long
  2333.     options vector created for getopt_long.
  2334.     Look through long_option_aliases for extra names to list
  2335.     in usage message.
  2336.  
  2337. Sat May  9 00:21:05 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2338.  
  2339.     * main.c (log_working_directory): Fixed to properly not print the
  2340.     leaving message when we haven't printed the entering message.
  2341.  
  2342. Fri May  8 21:55:35 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2343.  
  2344.     * main.c (struct command_switch): Added elts `long_name', 
  2345.     `description', and `argdesc'.
  2346.     (switches): Added initializers for new members.
  2347.     (decode_switches): Rewritten to use getopt_long.
  2348.     * compatMakefile (GETOPT, GETOPT_SRC): Define.
  2349.     (objs, srcs): Include them.
  2350.  
  2351.     * job.c (child_died): Renamed to dead_children; made static.
  2352.     (child_handler): Increment dead_children instead of setting child_died.
  2353.     (reap_children): Decrement dead_children instead of clearing
  2354.     child_died.  The point of all this is to avoid printing "waiting
  2355.     for unfinished jobs" when we don't actually need to block.
  2356.     This happened when multiple SIGCHLDs before reap_children was called.
  2357.  
  2358.     * job.c (reap_children): If ERR is set, so we don't call start_job
  2359.     on the child being reaped, instead set its command_state to
  2360.     cs_finished.
  2361.     (reap_children, child_handler, new_job): I added several
  2362.     debugging printf's while fixing this.  I left them in if (debug_flag) 
  2363.     because they may be useful for debugging this stuff again.
  2364.  
  2365. Wed May  6 22:02:37 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2366.  
  2367.     * read.c (read_makefile): v_export is not 1.
  2368.  
  2369. Mon May  4 17:27:37 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2370.  
  2371.     * Version 3.62.9.
  2372.  
  2373.     * variable.c (export_all_variables): New variable.
  2374.     (target_environment): Export variables whose `export' member is
  2375.     v_default if export_all_variables is set and their names are benign.
  2376.     * variable.h: Declare export_all_variables.
  2377.     * read.c (read_makefile): If export or unexport is given with no
  2378.     args, set or clear export_all_variables, respectively.
  2379.  
  2380.     * variable.c (target_environment): Exclude MAKELEVEL in the loop,
  2381.     so it isn't duplicated when we add it at the end.
  2382.  
  2383. Sun May  3 17:44:48 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2384.  
  2385.     * Version 3.62.8.
  2386.  
  2387.     * variable.h (struct variable): Added new member `export'.
  2388.     * variable.c (define_variable_in_set): Initialize it to v_default.
  2389.     (target_environment): Don't check for .NOEXPORT.
  2390.     Export variables whose `export' member is v_default and that would
  2391.     have been exported under .NOEXPORT, and variables whose `export'
  2392.     member is v_export.
  2393.     (try_variable_definition): Return the variable defined.
  2394.     * variable.h (try_variable_definition): Changed decl.
  2395.     * read.c (read_makefile): Recognize `export' and `unexport' directives.
  2396.  
  2397. Fri May  1 11:39:38 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2398.  
  2399.     * main.c (main) [POSIX]: Reversed args to sigaddset.
  2400.  
  2401. Thu Apr 30 17:33:32 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2402.  
  2403.     * job.c [POSIX || !USG] (unblock_sigs): New fn.
  2404.     (start_job): Block signals before forking.
  2405.     (new_job): Unblock signals after putting the new child on the chain.
  2406.     * main.c (main) [POSIX]: Use sigset_t fatal_signal_set instead of
  2407.     int fatal_signal_mask.
  2408.  
  2409.     * load.c [sgi] (LDAV_CVT): Define.
  2410.  
  2411. Wed Apr 29 17:15:59 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2412.  
  2413.     * Version 3.62.7.
  2414.  
  2415.     * load.c (load_average) [sgi]: Clear the high bit of the address
  2416.     from the symbol table before looking it up in kmem.
  2417.  
  2418.     * misc.c (fatal, makefile_fatal): Put *** in fatal error messages.
  2419.     (remake_file): No longer needed in message here.
  2420.  
  2421.     * main.c (die): Call reap_children with BLOCK==1.
  2422.  
  2423. Tue Apr 28 20:44:35 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2424.  
  2425.     * rule.c (freerule): Don't set LASTRULE->next if LASTRULE is nil.
  2426.  
  2427. Sun Apr 26 15:09:51 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2428.  
  2429.     * rule.c (count_implicit_rule_limits): Initialize LASTRULE to nil,
  2430.     not to head of chain.  Extract next ptr before we might do
  2431.     freerule, and use that for next iteration.
  2432.     (freerule): Still do next ptr frobbing if LASTRULE is nil.
  2433.  
  2434. Tue Apr 21 03:16:29 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2435.  
  2436.     * job.c (child_error): Removed extra %s from error msg format.
  2437.  
  2438.     * Version 3.62.6.
  2439.  
  2440.     * job.c (reap_children): Don't start later commands in a sequence
  2441.     if ERR is nonzero.
  2442.  
  2443.     * job.c (new_job): Always call reap_children with BLOCK==0 first thing.
  2444.  
  2445.     * job.c (reap_children): New function; work that used to be done in
  2446.     child_handler.
  2447.     (child_died): New global var.
  2448.     (child_handler): Now just sets child_died.
  2449.     (wait_for_children): Removed.
  2450.     (unknown_children_possible, block_signals, unblock_signals,
  2451.     push_signals_blocked_p, pop_signals_blocked_p): Removed.
  2452.     (child_execute_job): Removed call to unblock_signals.
  2453.     (new_job): Removed calls to push_signals_blocked_p and
  2454.     pop_signals_blocked_p.
  2455.     * job.h: Declare reap_children, not wait_for_children.
  2456.     * commands.c (fatal_error_signal), job.c (new_job),
  2457.     load.c [LDAV_BASED] (wait_to_start_job), main.c (die),
  2458.     remake.c (update_goal_chain), function.c (expand_function: `shell'):
  2459.     Changed wait_for_children calls to reap_children.
  2460.     Some needed to be loops to wait for all children to die.
  2461.     * commands.c (fatal_error_signal), main.c (main,
  2462.     log_working_directory), function.c (expand_function): Removed calls
  2463.     to push_signals_blocked_p and pop_signals_blocked_p.
  2464.     * job.h: Removed decls.
  2465.  
  2466.     * job.h: Added copyright notice.
  2467.  
  2468. Wed Apr 15 02:02:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2469.  
  2470.     * job.c (child_error): No *** for ignored error.
  2471.  
  2472. Tue Apr 14 18:31:21 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2473.  
  2474.     * implicit.c (DEBUGP2): Use do ... while (0) instead of if ... else to
  2475.     avoid compiler warnings.
  2476.  
  2477.     * read.c (parse_file_seq): Don't remove ./ when it is followed by a
  2478.     blank.
  2479.  
  2480. Mon Apr 13 21:56:15 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2481.  
  2482.     * make.h (DEBUGPR): Use do ... while (0) instead of if ... else to
  2483.     avoid compiler warnings.
  2484.  
  2485.     * remake.c (notice_finished_file): Run file_mtime on the also_make
  2486.     files, so vpath_search can happen.
  2487.  
  2488.     * GNUmakefile (tests): Use perl test suite from csa@sw.stratus.com.
  2489.     (alpha-files): Include test suite tar file.
  2490.  
  2491. Fri Apr  3 00:50:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2492.  
  2493.     * Version 3.62.5.
  2494.  
  2495. Wed Apr  1 05:31:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2496.  
  2497.     * remake.c (update_file, update_file_1): Do check_renamed on elts
  2498.     of dep chains when traversing them.  Something unrelated might have
  2499.     renamed one of the files the dep chain points to.
  2500.  
  2501.     * file.c (rename_file): If FILE has been renamed, follow its
  2502.     `renamed' ptr, so we get to the final real FILE.  Using the renamed
  2503.     ones loses because they are not in the hash table, so the removal
  2504.     code loops infinitely.
  2505.  
  2506.     * read.c (read_all_makefiles): Clobber null terminator into
  2507.     MAKEFILES expansion, so string passed to read_makefile is properly
  2508.     terminated.
  2509.  
  2510. Mon Mar 30 20:18:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2511.  
  2512.     * commands.c (set_file_variables): $* for archive member with
  2513.     explicit cmds is stem of member, not of whole `lib(member)'.
  2514.  
  2515. Thu Mar 26 15:24:38 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2516.  
  2517.     * Version 3.62.4.
  2518.  
  2519. Tue Mar 24 05:20:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2520.  
  2521.     * rule.c (new_pattern_rule): Rules are identical only if all their
  2522.     targets match (regardless of order).
  2523.  
  2524. Wed Mar 11 13:49:54 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2525.  
  2526.     * remake.c (remake_file): Changed error "no way to make" to "no
  2527.     rule to make".  Fiat Hugh.
  2528.  
  2529.     * make.texinfo (Last Resort): Describe %:: rules and new .DEFAULT
  2530.     behavior.
  2531.  
  2532.     * remake.c (update_file_1): Only use .DEFAULT cmds if FILE is not a
  2533.     target.
  2534.  
  2535. Tue Mar 10 18:13:13 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2536.  
  2537.     * remote-stub.c, remote-cstms.c (start_remote_job): Take new arg,
  2538.     environment to pass to child.
  2539.     * job.c (start_job): Pass it.
  2540.  
  2541. Mon Mar  9 19:00:11 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2542.  
  2543.     * file.c (enter_file): Also strip ./s here, to get command-line
  2544.     target names.
  2545.  
  2546.     * remote-cstms.c: Add comment telling people to leave me alone.
  2547.  
  2548.     * compatMakefile (manpage install): Remove target before copying.
  2549.  
  2550. Tue Mar  3 18:43:21 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2551.  
  2552.     * make.texinfo (Missing): Renamed to "Incompatibilities and ...".
  2553.     Added paragraph describing $? incompatibility with Unix and POSIX.2.
  2554.  
  2555. Sun Mar  1 15:50:54 1992  Roland McGrath  (roland@nutrimat.gnu.ai.mit.edu)
  2556.  
  2557.     * function.c (expand_function: `shell'): Don't declare fork or pipe.
  2558.     Use vfork instead of fork.
  2559.  
  2560. Tue Feb 25 22:05:32 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2561.  
  2562.     * make.texinfo (Chained Rules): Clarify .PRECIOUS to save
  2563.     intermediate files.
  2564.  
  2565.     * load.c [sun] (LDAV_CVT): Define to divide by FSCALE.
  2566.  
  2567. Sun Feb 16 02:05:16 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2568.  
  2569.     * Version 3.62.3.
  2570.  
  2571. Sat Feb 15 17:12:20 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2572.  
  2573.     * compatMakefile (makeinfo): Use emacs batch-texinfo-format fn.
  2574.  
  2575. Fri Feb 14 00:11:55 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2576.  
  2577.     * read.c (read_makefile): Correctly handle define & endef in ifdefs.
  2578.  
  2579.     * read.c (record_files): Pass arg for %s in error msg.
  2580.  
  2581.     * main.c (main) [__IBMR2, POSIX]: Use correct (a la USGr3) setvbuf
  2582.     call.
  2583.  
  2584. Wed Feb 12 12:07:39 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2585.  
  2586.     * make.texinfo (Libraries/Search): Say it does /usr/local/lib too.
  2587.  
  2588. Sun Feb  9 23:06:24 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2589.  
  2590.     * read.c (read_makefile): Check for extraneous `endef' when ignoring.
  2591.  
  2592. Thu Feb  6 16:15:48 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2593.  
  2594.     * Version 3.62.2.
  2595.  
  2596. Tue Feb  4 20:04:46 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2597.  
  2598.     * job.c (construct_command_argv_internal): Correctly ignore
  2599.     whitespace after backslash-NL.
  2600.  
  2601. Fri Jan 31 18:30:05 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2602.  
  2603.     * compatMakefile: Ignore errors from chgrp and chmod when installing.
  2604.  
  2605. Wed Jan 29 18:13:30 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2606.  
  2607.     * main.c (main): When setting MAKELEVEL in the env to re-exec,
  2608.     allocate space so as not to clobber past the end of the old string.
  2609.  
  2610.     * make.h [HAVE_ALLOCA_H]: Include <alloca.h>
  2611.     * compatMakefile (defines): Document HAVE_ALLOCA_H.
  2612.  
  2613. Mon Jan 20 13:40:05 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2614.  
  2615.     * make.h [VFORK_MISSING]: Use fork instead.
  2616.     * compatMakefile (defines): Document same.
  2617.  
  2618.     * job.c (construct_command_argv_internal): Don't create an empty
  2619.     arg if backslash-NL is at beginning of word.
  2620.  
  2621. Sun Jan 19 16:26:53 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2622.  
  2623.     * main.c [DGUX]: Call setvbuf as for USGr3.
  2624.  
  2625.     * job.c (construct_command_argv_internal): Notice correctly that
  2626.     backslash-NL is the end of the arg (because it is replaced with a
  2627.     space).
  2628.  
  2629. Thu Jan 16 18:42:38 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2630.  
  2631.     * job.c (construct_command_argv_internal): If SHELL is nil, set it
  2632.     to default_shell before proceeding.
  2633.  
  2634.     * make.h [sgi]: No alloca.h, after all.
  2635.  
  2636. Wed Jan 15 12:30:04 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2637.  
  2638.     * read.c (multi_glob): Cons up the chain of the results of glob
  2639.     from back to front, so it comes out in forward order.
  2640.  
  2641.     * job.c (construct_command_argv_internal): Don't eat char following
  2642.     backslash-NL.
  2643.  
  2644. Mon Jan 13 19:16:56 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2645.  
  2646.     * Version 3.62.1.
  2647.  
  2648.     * default.c (default_variables) [ultrix]: GET=get, like USG.
  2649.  
  2650.     * job.c (construct_command_argv_internal): Remove tabs following
  2651.     backslash-NL combos in the input line, so they don't show up when
  2652.     that line is printed.
  2653.  
  2654.     * read.c (read_makefile): Don't collapse_continuations the line on
  2655.     input; do it on the copy we do remove_comments on.
  2656.     For rule lines, collapse_continuations the line after chopping
  2657.     ";cmds" off the end, so we don't eat conts in the cmds.
  2658.     Give error for ";cmds" with no rule.
  2659.     * job.c (construct_command_argv_internal): Eat backslash-NL combos
  2660.     when constructing the line to recurse on for slow, too.
  2661.  
  2662. Sat Jan 11 02:20:27 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2663.  
  2664.     * file.c (enter_file): Don't strip leading `./'s.
  2665.     * read.c (parse_file_seq): Take new arg STRIP; if nonzero, do it here.
  2666.     * default.c (set_default_suffixes), function.c (string_glob),
  2667.     read.c (read_makefile), rule.c (install_pattern_rule): Change callers.
  2668.  
  2669.     * default.c (default_variables) [_IBMR2]: FC=xlf
  2670.  
  2671.     * job.c (construct_command_argv_internal): Turn backslash-NL and
  2672.     following whitespace into a single space, rather than just eating
  2673.     the backslash.
  2674.  
  2675.     * make.texinfo (Copying): @include gpl.texinfo, rather than
  2676.     duplicating its contents.
  2677.  
  2678. Fri Nov  8 20:06:03 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2679.  
  2680.     * job.c (construct_command_argv_internal): Make sure not to bother
  2681.     processing an empty line.
  2682.  
  2683.     * Version 3.62.0.
  2684.  
  2685.     * job.c (construct_command_argv_internal): Always recurse for slow;
  2686.     simple case didn't handle finding newlines.
  2687.  
  2688. Tue Nov  5 18:51:10 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2689.  
  2690.     * job.c (construct_command_argv_internal): Set RESTP properly when
  2691.     slow; don't \ify past a newline.
  2692.  
  2693. Fri Nov  1 19:34:28 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2694.  
  2695.     * make.h [sgi]: #include <alloca.h>.
  2696.  
  2697. Tue Oct 29 20:57:36 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2698.  
  2699.     * Version 3.62.
  2700.  
  2701.     * remake.c (update_file_1): Check for deps still running before
  2702.     giving up if any dep has failed.
  2703.  
  2704. Sat Oct 26 16:20:00 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2705.  
  2706.     * make.h [uts]: #undef S_ISREG and S_ISDIR if defined.
  2707.  
  2708. Fri Oct 25 19:50:39 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2709.  
  2710.     * Version 3.60.17.
  2711.  
  2712. Thu Oct 24 16:58:36 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2713.  
  2714.     * job.c (start_job): Don't check for empty cmds before tweaking the
  2715.     command_ptr.  Just let construct_command_argv do it.
  2716.  
  2717. Tue Oct 22 20:21:03 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2718.  
  2719.     * remake.c, arscan.c [POSIX]: <fcntl.h> instead of <sys/file.h>.
  2720.  
  2721.     * make.h [POSIX]: Declare vfork as pid_t.
  2722.  
  2723. Mon Oct 21 15:37:30 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2724.  
  2725.     * Version 3.60.16.
  2726.  
  2727.     * job.c (construct_command_argv, construct_command_argv_internal):
  2728.     Take new 2nd arg RESTP.  If non-NULL, stop parsing at newline, and
  2729.     store addr of the NL in *RESTP.
  2730.     (start_job): Don't chop expanded cmd lines up; use above code to do it.
  2731.     * function.c (expand_function: `shell'): Pass RESTP==NULL.
  2732.  
  2733. Sat Oct 19 15:36:34 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2734.  
  2735.     * Version 3.60.15.
  2736.  
  2737. Fri Oct 18 15:26:55 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2738.  
  2739.     * job.c (start_job): If on the same cmds->command_lines elt, look
  2740.     at cmds->lines_recurse[CHILD->command_line - 1] instead of
  2741.     [CHILD->command_line].
  2742.  
  2743.     * dir.c [sgi]: <sys/dir.h>, not ndir or anything else.
  2744.  
  2745. Thu Oct 17 16:28:55 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2746.  
  2747.     * file.c (print_file_data_base): Remove unused var.
  2748.  
  2749.     * make.h [NeXT]: No #define ANSI_STRING.
  2750.  
  2751. Tue Oct 15 20:08:41 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2752.  
  2753.     * Version 3.60.14.
  2754.  
  2755. Fri Oct 11 16:23:52 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2756.  
  2757.     * make.h: Use PATH_MAX for getwd defn.
  2758.  
  2759.     * make.h: Move getcwd/getwd outside of #ifndef POSIX, and make it
  2760.     #if USG||POSIX.
  2761.  
  2762. Thu Oct 10 11:53:31 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2763.  
  2764.     * Version 3.60.13.
  2765.  
  2766.     * read.c (read_all_makefiles): When processing MAKEFILES, save the
  2767.     malloc'd ptr to be freed, instead of freeing part-way thru it.
  2768.  
  2769.     * remake.c (update_file_1): Don't tweak FILE->also_make.
  2770.     (update_file): Do it here.  After calling update_file_1, set the
  2771.     command_state, update_status, and updated members of each also_make
  2772.     elt to FILE's values.
  2773.  
  2774. Tue Oct  8 14:56:04 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2775.  
  2776.     * Version 3.60.12.
  2777.  
  2778.     * remake.c (notice_finished_file): Set command_state of FILE and
  2779.     its also_make chain to cs_finished here.
  2780.     * commands.c (execute_file_commands), job.c (child_handler),
  2781.     remake.c (remake_file): Don't set it before calling
  2782.     notice_finished_file.
  2783.  
  2784.     * file.h (struct file): Changed `also_make' to struct dep *.
  2785.     * job.c (delete_child_targets), file.c (print_file_data_base),
  2786.     remake.c (notice_finished_file), implicit.c (pattern_search):
  2787.     Use dep chain instead of array of file names.
  2788.  
  2789. Mon Oct  7 17:04:33 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2790.  
  2791.     * Version 3.60.11.
  2792.  
  2793.     * arscan.c: Declare open.
  2794.     * misc.c: Declare {get,set}{re,}[ug]id.
  2795.     * variable.c (target_environment): Declare getenv.
  2796.  
  2797. Sat Oct  5 15:13:03 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2798.  
  2799.     * make.h [NeXT]: <string.h> instead of <strings.h>.
  2800.  
  2801. Fri Oct  4 16:05:41 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2802.  
  2803.     * default.c (default_suffixes, defualt_suffix_rules): Add .texi
  2804.     just like .texinfo.
  2805.  
  2806.     * Version 3.60.10.
  2807.  
  2808.     * job.c: Move vfork decl into make.h.
  2809.  
  2810. Fri Sep 27 18:45:30 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2811.  
  2812.     * compatMakefile (glob/libglob.a): Pass CC value to submake.
  2813.  
  2814. Thu Sep 26 00:08:15 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2815.  
  2816.     * load.c (load_average): Made not static.
  2817.  
  2818.     * load.c [ultrix && vax]: Define LDAV_TYPE and LDAV_CVT for Ultrix 4.2.
  2819.  
  2820. Tue Sep 24 00:17:20 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2821.  
  2822.     * Version 3.60.9.
  2823.  
  2824.     * read.c (record_files): Warn about extra cmds even if the target's
  2825.     name begins with a dot.  I think the lusers can handle this.
  2826.  
  2827. Mon Sep 23 22:33:26 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2828.  
  2829.     * make.h, arscan.c: Don't declare bcmp, bzero, or bcopy if they're
  2830.     #define'd.
  2831.     * make.h: Declare write and open.
  2832.  
  2833.     * default.c (default_suffixes, default_suffix_rules,
  2834.     default_variables): Add .C just like .cc.
  2835.     * make.texinfo (Catalogue of Rules): Document .C.
  2836.  
  2837.     * make.man (-w): Fix gramo.
  2838.  
  2839. Fri Sep 20 17:18:16 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2840.  
  2841.     * make.h: No text after #endif.
  2842.  
  2843. Sun Sep 15 16:20:46 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2844.  
  2845.     * Version 3.60.8.
  2846.  
  2847.     * implicit.c (pattern_search): In the second pass, recurse on rule
  2848.     deps that don't have a %.  Why did I make it not do this?
  2849.  
  2850. Fri Sep 14 18:29:39 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2851.  
  2852.     * read.c (record_files): For extra cmds, use the last ones given.
  2853.     If the target's name doesn't begin with a dot (bletch!!), emit a
  2854.     two-line warning, one line giving the old cmds' location and the
  2855.     other the new cmds' location.
  2856.  
  2857.     * misc.c (makefile_error, makefile_fatal): New fns.
  2858.     * make.h: Declare them.
  2859.     * Use them instead of error/fatal for all msgs including a file
  2860.     name and line number.
  2861.  
  2862. Thu Sep 13 16:35:54 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2863.  
  2864.     * make.h: Declare define_default_variables.
  2865.     Declare ar_parse_name, instead of ar_name_parse (M-t).
  2866.  
  2867. Mon Sep 10 18:35:40 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  2868.  
  2869.     * Version 3.60.7.
  2870.  
  2871.     * make.texinfo (Variables: Setting): Say whitespace is removed if
  2872.     "immediately after =", rather than simply "after =".
  2873.  
  2874.     * job.c: Don't declare wait #ifdef POSIX.
  2875.  
  2876.     * make.h [__GNUC__]: #undef alloca and then #define it.
  2877.  
  2878.     * main.c (main): When pruning makefiles which might loop from the
  2879.     read_makefiles chain, look at all `prev' entries of double-colon rules.
  2880.  
  2881. Fri Sep  7 00:41:53 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2882.  
  2883.     * main.c (main): Only remove makefiles with cmds but no deps from
  2884.     the list of makefiles to be rebuilt if they are :: targets.
  2885.     : targets with cmds and no deps are not dangerous.
  2886.  
  2887. Wed Sep  5 17:35:51 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2888.  
  2889.     * compatMakefile (defines): Add comment that some compilers take
  2890.     ENUM_BITFIELDS but produce bogus code.
  2891.     (LOAD_AVG): Fix examples to \ "s.
  2892.     (LOADLIBES): Add comment that SGI Irix needs -lmld for nlist.
  2893.  
  2894. Tue Sep  4 20:26:26 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2895.  
  2896.     * Version 3.60.6.
  2897.  
  2898. Fri Aug 30 19:34:04 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2899.  
  2900.     * remake.c (update_file_1): When checking the command_state of
  2901.     deps, check through the prev chain.
  2902.     (update_goal_chain): When a target is finished, start checking its
  2903.     prev (if it has one) instead.
  2904.  
  2905. Wed Aug  7 17:32:03 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2906.  
  2907.     * rule.c (convert_to_pattern): Allow files with deps to define
  2908.     suffix rules (really this time).
  2909.  
  2910. Mon Aug  5 17:09:21 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2911.  
  2912.     * misc.c (user_access, make_access): Do saved-IDs (USG) flavor
  2913.     #ifdef POSIX.
  2914.  
  2915.     * file.c (enter_file): Strip ./s here.
  2916.     * read.c (parse_file_seq): Not here.
  2917.  
  2918. Tue Jul 23 23:34:30 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2919.  
  2920.     * compatMakefile: Added comment that -lPW alloca is broken on HPUX.
  2921.  
  2922. Thu Jul 18 03:10:41 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2923.  
  2924.     * Version 3.60.5.
  2925.  
  2926.     * read.c (read_makefile): Ignore lines containing chars that are
  2927.     all isspace, not just all isblank.
  2928.  
  2929.     * make.texinfo (Copying): @include gpl.texinfo, rather than copying
  2930.     the text.
  2931.     * gpl.texinfo: New file (symlink to /gd/gnu/doc/gpl.texinfo).
  2932.     * GNUmakefile: Put gpl.texinfo in distribution.
  2933.  
  2934. Tue Jul 16 12:50:35 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2935.  
  2936.     * make.h: #define _GNU_SOURCE before including headers.
  2937.     Include <ctype.h> and define isblank if <ctype.h> doesn't.
  2938.     * commands.c: Don't include <ctype.h> here.
  2939.     * *.c: Use isblank instead of explicit ' ' || '\t'.
  2940.  
  2941. Mon Jul 15 17:43:38 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2942.  
  2943.     * function.c (expand_function: `filter'/`filter-out'): Fixed to not
  2944.     loop infinitely.
  2945.  
  2946. Fri Jul 12 12:18:12 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2947.  
  2948.     * function.c (expand_function: `filter'/`filter-out'): Rewritten to
  2949.     handle filter-out of multiple patterns properly.  Also no longer
  2950.     mallocs and reallocs for temp array; uses alloca and a linked-list
  2951.     instead.
  2952.  
  2953. Wed Jul 10 22:34:54 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2954.  
  2955.     * Version 3.60.4.
  2956.  
  2957.     * make.texinfo: Moved some @groups that were outside @examples to
  2958.     be inside them.
  2959.  
  2960.     * load.c [apollo] (load_average): Define using special syscall for
  2961.     Apollo DOMAIN/OS SR10.n.
  2962.  
  2963. Thu Jul  4 12:32:53 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  2964.  
  2965.     * make.texinfo (Missing): Added Unix excessive implicit rule
  2966.     search; mention that POSIX.2 doesn't require any of the missing
  2967.     features.
  2968.     (Top): Updated printed manual price to $15.
  2969.  
  2970. Wed Jul  3 18:17:50 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2971.  
  2972.     * file.c (rename_file): Carry over last_mtime when merging files.
  2973.     * remake.c (f_mtime): Tail-recurse after renaming VPATH file, to
  2974.     check for saved date in existing renamed-to file.
  2975.  
  2976.     * remote-cstms.c (start_remote_job): Use PATH_VAR.
  2977.  
  2978.     * commands.c [POSIX || __GNU_LIBRARY__]: Don't declare getpid.
  2979.  
  2980.     * compatMakefile (glob-{clean,realclean}): Run clean/realclean in glob.
  2981.     (clean, realclean): Require those.
  2982.  
  2983.     * make.h: Always declare environ.
  2984.     Don't declare old glob functions.
  2985.  
  2986.     * GNUmakefile: Make no-lib deps for load.c and remote.c.
  2987.  
  2988. Tue Jul  2 18:35:20 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2989.  
  2990.     * Version 3.60.3.
  2991.  
  2992. Mon Jul  1 16:58:30 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2993.  
  2994.     * read.c (multi_glob): Don't pass GLOB_QUOTE flag to glob.
  2995.  
  2996.     * make.h [POSIX]: Include <unistd.h>, and don't declare things that
  2997.     should be there.
  2998.  
  2999.     * main.c (main) [USG && sgi]: malloc a buffer for broken sgi stdio.
  3000.  
  3001. Sat Jun 29 11:22:21 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  3002.  
  3003.     * function.c (expand_function: `shell'): Use alloca for the error
  3004.     msg buffer, instead of assuming an arbitrary max size.
  3005.  
  3006. Fri Jun 28 18:15:08 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3007.  
  3008.     * job.c [POSIX] (search_path): Do real 1003.1 goop to get NGROUPS_MAX.
  3009.  
  3010. Wed Jun 26 11:04:44 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  3011.  
  3012.     * default.c (define_default_variables): New fn.
  3013.     (install_default_implicit_rules): Code for above fn moved there.
  3014.     * main.c (main): Do define_default_variables before reading the
  3015.     makefile.
  3016.  
  3017. Tue Jun 25 17:30:46 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  3018.  
  3019.     * main.c (main): Quote ; in MAKEOVERRIDES.
  3020.  
  3021. Tue Jun 18 13:56:30 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  3022.  
  3023.     * compatMakefile: Fixed typo in comment.
  3024.  
  3025. Tue Jun 11 00:14:59 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  3026.  
  3027.     * Version 3.60.2.
  3028.  
  3029. Mon Jun 10 14:46:37 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3030.  
  3031.     * make.h: Always include <sys/types.h>.
  3032.     [POSIX]: Include <limits.h> and #define MAXPATHLEN to be PATH_MAX.
  3033.  
  3034.     * default.c (default_suffix_rules: .texinfo.dvi): Use $(TEXI2DVI).
  3035.     (default_variables): Define TEXI2DVI.
  3036.  
  3037. Thu Jun  6 16:49:19 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3038.  
  3039.     * Version 3.60.1.
  3040.  
  3041.     * make.h (SIGNAL): Cast handler arg to SIGHANDLER type.
  3042.  
  3043. Wed Jun  5 06:00:43 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3044.  
  3045.     * read.c (multi_glob): Use POSIX.2 `glob' function.
  3046.     If a glob pattern matches nothing, leave it as is (a la sh, bash).
  3047.     Also, if can't find USER for ~USER, leave it as is (a la bash).
  3048.  
  3049. Mon Jun  3 16:36:00 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  3050.  
  3051.     * compatMakefile: Rewrote comments about -Ds to be easier to use.
  3052.  
  3053.     * make.h, arscan.c, remake.c, main.c, dir.c, job.c: Changed tests
  3054.     of _POSIX_SOURCE to POSIX.
  3055.  
  3056.     * job.c: Take getdtablesize out of #ifdef __GNU_LIBRARY__.
  3057.     Put separately #ifdef USG.
  3058.  
  3059.     * COPYING: Replaced with version 2.
  3060.     * Changed copyright notices to refer to GPL v2.
  3061.  
  3062. Thu May 30 00:31:11 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3063.  
  3064.     * make.h: Don't declare sigblock for POSIX.
  3065.  
  3066.     * main.c (main, log_working_directory) [USG]: Get getcwd failure
  3067.     mode from errno, not passed buffer like BSD getwd.
  3068.  
  3069.     * misc.c (child_access): New fn to set access for a child process;
  3070.     like user_access, but you can't change back.
  3071.     * make.h: Declare it.
  3072.     * job.c (exec_command): Use it in place of user_access.
  3073.  
  3074. Wed May 29 23:28:48 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3075.  
  3076.     * default.c (default_variables) [pyr]: PC = pascal.
  3077.  
  3078. Tue May 28 20:24:56 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3079.  
  3080.     * variable.c (print_variable): Put a newline before `endef'.
  3081.  
  3082. Sat May 25 02:39:52 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3083.  
  3084.     * Version 3.60.
  3085.  
  3086. Wed May 22 19:41:37 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3087.  
  3088.     * Version 3.59.5.
  3089.  
  3090. Thu May 16 13:59:24 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3091.  
  3092.     * main.c (main): Do USGr3 setvbuf behavior #ifdef APOLLO.
  3093.     Don't handle SIGCHLD #ifdef USG (Apollo is USG but defines SIGCHLD).
  3094.  
  3095. Fri May 10 14:59:33 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3096.  
  3097.     * remake.c [sgi]: Don't include <sys/file.h>.
  3098.  
  3099. Wed May  8 01:54:08 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  3100.  
  3101.     * make.h (SIGHANDLER): #define as (void *) #if __STDC__,
  3102.     else (int (*)()).
  3103.     (SIGNAL): Use it to cast return value.
  3104.     * main.c (main): Cast SIG_IGN to SIGHANDLER when comparing.
  3105.     * job.c (block_signals, unblock_signals): Use SIGNAL instead of signal.
  3106.  
  3107.     * main.c: Declare mktemp to return char*, not int.
  3108.  
  3109.     * job.c (new_job): Don't increment files_remade.
  3110.     * remake.c (notice_finished_file): Do it here.
  3111.  
  3112.     * read.c (do_define): Don't clobber DEFINITION[-1] on empty defns.
  3113.     Free storage that is no longer needed.
  3114.  
  3115. Wed Apr 24 20:49:48 1991  Roland McGrath  (roland at churchy.gnu.ai.mit.edu)
  3116.  
  3117.     * misc.c (message): New fn to print informational msgs with
  3118.     leading "make: " or "make[N]: ".
  3119.     * make.h: Declare it.
  3120.     * remake.c (update_file): Use it instead of printf.
  3121.  
  3122. Fri Apr 19 05:52:45 1991  Roland McGrath  (roland at churchy.gnu.ai.mit.edu)
  3123.  
  3124.     * main.c (main): When there are no targets, if there were no
  3125.     makefiles, print a different error message, which mentions makefiles.
  3126.  
  3127. Tue Apr 16 03:22:45 1991  Roland McGrath  (roland at geech.gnu.ai.mit.edu)
  3128.  
  3129.     * remake.c (update_file): Print "nothing to be done" instead of "is
  3130.     up to date" if FILE->cmds == 0.
  3131.  
  3132.     * job.c [!WIFEXITED]: Define if not already defined.
  3133.  
  3134. Thu Apr 11 18:00:50 1991  Roland McGrath  (roland at wookumz.gnu.ai.mit.edu)
  3135.  
  3136.     * arscan.c (ar_name_equal): Fixed truncation comparison.
  3137.  
  3138. Tue Apr  2 16:17:35 1991  Roland McGrath  (roland at churchy.gnu.ai.mit.edu)
  3139.  
  3140.     * glob.c: Use common version from djm.
  3141.     * dir.c: Snarfed #ifdef mess for <dirent.h> or whatever from glob.c.
  3142.     (dir_file_exists_p): Ignore directory entries with d_ino==0.
  3143.  
  3144. Mon Apr  1 20:49:45 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)
  3145.  
  3146.     * Version 3.59.4.
  3147.  
  3148. Fri Mar 29 19:16:18 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)
  3149.  
  3150.     * job.c (free_child): Free CHILD->environment and its elts.
  3151.  
  3152. Sat Mar 23 14:08:09 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)
  3153.  
  3154.     * read.c (read_makefile): Don't ignore lines containing only
  3155.     comments if they start with a tab.  Such lines should be passed to
  3156.     the shell for it to decide about the comments.
  3157.  
  3158.     * job.c (free_child): Free CHILD->command_lines and its elts, not
  3159.     CHILD->commands (which is obsolete).
  3160.     * job.h, job.c: Remove obsolete `commands' member of `struct child'.
  3161.  
  3162. Sun Mar 17 18:40:53 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3163.  
  3164.     * remake.c (update_file): Print a msg for a top-level up-to-date
  3165.     phony target (a different one than for a real file).
  3166.  
  3167.     * read.c (conditional_line): Boundary check so we don't check the
  3168.     value of the -1th elt of the stack (which is bogus).
  3169.  
  3170. Sat Mar 16 16:58:47 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3171.  
  3172.     * read.c (conditional_line): Don't evaluate an if* when we're
  3173.     already ignoring.  Instead, just push a new level, with a value of
  3174.     1, to keep ignoring.
  3175.  
  3176. Tue Mar 12 00:16:52 1991  Roland McGrath  (roland at geech.ai.mit.edu)
  3177.  
  3178.     * Version 3.59.3.
  3179.  
  3180. Mon Mar 11 23:56:57 1991  Roland McGrath  (roland at geech.ai.mit.edu)
  3181.  
  3182.     * job.c (construct_command_argv_internal): Quote backslashes
  3183.     when building the shell -c line.
  3184.  
  3185. Fri Mar  8 01:40:18 1991  Roland McGrath  (roland at geech.ai.mit.edu)
  3186.  
  3187.     * job.c (exec_command): Call user_access rather than setgid(getgid()).
  3188.  
  3189.     * misc.c (remove_comments): Renamed from collapse_line; took out
  3190.     collapse_continuations call.
  3191.     * make.h: Change decl.
  3192.     * read.c (read_makefile): Collapse continuations on the line buffer
  3193.     immediately after reading it.  Call remove_comments rather than
  3194.     collapse_line (which is now defunct).
  3195.  
  3196. Thu Feb 21 18:06:51 1991  Roland McGrath  (mcgrath at cygint.cygnus.com)
  3197.  
  3198.     * misc.c (user_access, make_access): New fns to toggle btwn permissions
  3199.     for user data (files and spawning children), and permissions for make
  3200.     (for taking the load average, mostly).
  3201.     * make.h: Declare them.
  3202.     * job.c (start_job): Call make_access before wait_to_start_job, and
  3203.     user_access after.
  3204.     * main.c (main): Call user_access before doing much.
  3205.  
  3206. Mon Feb  3 15:02:03 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3207.  
  3208.     * Version 3.59.2.
  3209.  
  3210. Tue Jan 29 20:30:50 1991  Roland McGrath  (roland at cygint.cygnus.com)
  3211.  
  3212.     * read.c (read_all_makefiles): Use allocated_variable_expand to expand
  3213.     `$(MAKEFILES)', since the results are used across calls to
  3214.     read_makefile, which could clobber them.
  3215.  
  3216. Wed Jan 23 00:24:10 1991  Roland McGrath  (roland at cygint.cygnus.com)
  3217.  
  3218.     * main.c (main): Call install_default_implicit_rules after reading
  3219.     makefiles, not before.
  3220.     * default.c (install_default_implicit_rules): If a suffix-rule file
  3221.     entry has cmds, don't give it any from default_suffix_rules.
  3222.  
  3223. Fri Jan 17 17:39:49 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3224.  
  3225.     * arscan.c: Added support for AIX archives.
  3226.  
  3227.     * remake.c: Don't include ar.h.
  3228.     * main.c: Removed unused atol decl.
  3229.     * arscan.c (ar_scan): Declare arg FUNCTION to return long int.
  3230.     * ar.c (ar_touch): Don't perror for an invalid archive.
  3231.     * make.h: Declare lseek as long int.
  3232.  
  3233.     * job.c [hpux]: Define getdtablesize a la USG.
  3234.  
  3235. Sun Jan 12 21:08:34 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3236.  
  3237.     * Version 3.59.1.
  3238.  
  3239. Fri Jan 10 03:48:08 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3240.  
  3241.     * job.c (search_path): Take new arg, place to put full pathname (rather
  3242.     than mallocing it).
  3243.     (exec_command): Pass it, using auto storage.
  3244.  
  3245.     * main.c (print_version): Updated copyright years.
  3246.  
  3247. Wed Jan  8 19:46:19 1991  Roland McGrath  (roland at albert.ai.mit.edu)
  3248.  
  3249.     * job.c [_POSIX_SOURCE]: Just #include <sys/wait.h>, and define macro
  3250.     WAIT_NOHANG in terms of waitpid.
  3251.     [!_POSIX_SOURCE && (HAVE_SYS_WAIT || !USG)]: Don't #include <signal.h>
  3252.     (make.h does).
  3253.     Define macro WAIT_NOHANG in terms of wait3.
  3254.     (child_handler): #ifdef on WAIT_NOHANG, not HAVE_SYS_WAIT || !USG.
  3255.     Use WAIT_NOHANG macro instead of wait3.
  3256.  
  3257.     * file.h (struct file.command_state): Remove unused elt.
  3258.  
  3259. Wed Dec 26 18:10:26 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3260.  
  3261.     * commands.c (set_file_variables): If FILE got its commands from
  3262.     .DEFAULT, make $< == $@ (4.3 BSD/POSIX.2d11 compat).
  3263.  
  3264. Mon Dec 24 17:36:27 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3265.  
  3266.     * default.c (default_variables): Rename 2nd LINK.s defn to LINK.S.
  3267.  
  3268. Fri Dec 14 15:05:25 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3269.  
  3270.     * vpath.c (selective_vpath_search): Check for makefile-mentioned before
  3271.     checking for actual existence.  The old order loses if the containing
  3272.     directory doesn't exist (but a rule might make it).
  3273.  
  3274.     * make.h [__GNUC__]: Don't #define alloca if already #define'd.
  3275.  
  3276.     * rule.c (convert_to_pattern): Don't look at the target constructed for
  3277.     the empty rule when making the null-suffix rule.  Construct it over
  3278.     again, since the former may have been freed already.
  3279.  
  3280. Thu Dec 13 17:21:03 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3281.  
  3282.     * make.h [__GNU_LIBRARY__]: Include <unistd.h> to get random fn decls.
  3283.  
  3284. Wed Dec 12 17:12:59 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3285.  
  3286.     * make.h, arscan.c, glob.c: Only include <memory.h> #ifdef USG.
  3287.  
  3288.     * variable.c (define_variable_in_set): Replace env_overrides check that
  3289.     wasn't really redundant (undoing Sep 28 change).  Add comment saying
  3290.     why this check is necessary.
  3291.  
  3292.     * job.c, main.c [DGUX]: Needs siglist like USG.
  3293.  
  3294. Mon Dec 11 01:19:29 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3295.  
  3296.     * default.c [M_XENIX]: For rules that are different for Xenix, use the
  3297.     generic Unix version #ifdef __GNUC__.
  3298.  
  3299.     * main.c [M_XENIX]: Use USGr3-style setvbuf call.
  3300.  
  3301.     * read.c (find_percent): Do backslash folding correctly, not leaving
  3302.     extra crud on the end of the string.
  3303.  
  3304. Sun Dec 10 21:48:36 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3305.  
  3306.     * job.c: Don't declare wait3 if it's #defined.
  3307.  
  3308.     * GNUmakefile, compatMakefile, make.texinfo: Change make-info
  3309.     to make.info.
  3310.  
  3311. Thu Dec  7 21:20:01 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3312.  
  3313.     * make.h [STDC_HEADERS || __GNU_LIBRARY__ || _POSIX_SOURCE]: Use
  3314.     ANSI <string.h> and names for str/mem functions.
  3315.     Use <stdlib.h> to declare misc fns rather than explicit decls.
  3316.     [_POSIX_SOURCE]: Don't declare kill (<signal.h> will).
  3317.     Include <sys/types.h> before <signal.h> because some braindead
  3318.     nonconformant 1003.1 implementation needs it.
  3319.     * misc.c: Don't declare malloc, realloc.  Do it in make.h.
  3320.     * arscan.c, glob.c: Use sequence for string fns from make.h verbatim.
  3321.     * make.h (S_ISDIR, S_ISREG): Declare if necessary.
  3322.     * commands.c (delete_child_targets), job.c (search_path), read.c
  3323.     (construct_include_path): Use S_ISfoo(m) instead of
  3324.     (m & S_IFMT) == S_IFfoo.
  3325.     * dir.c, glob.c [_POSIX_SOURCE]: Use dirent.
  3326.  
  3327. Wed Nov 29 22:53:32 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  3328.  
  3329.     * Version 3.59.
  3330.  
  3331. Tue Nov 28 16:00:04 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3332.  
  3333.     * arscan.c (ar_name_equal) [APOLLO]: Don't do `.o' hacking.  On Apollos
  3334.     the full file name is elsewhere, and there is no length restriction (or
  3335.     so I'm told).
  3336.  
  3337. Thu Nov 23 17:33:11 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3338.  
  3339.     * load.c [hp300 && BSD] (LDAV_CVT): Define for this system.
  3340.  
  3341. Tue Nov 21 07:58:40 1990  Roland McGrath  (roland at albert.ai.mit.edu)
  3342.  
  3343.     * read.c (record_files): Fix trivial bug with deciding to free storage
  3344.     for a file name.
  3345.  
  3346. Thu Nov 16 06:21:38 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  3347.  
  3348.     * compatMakefile ($(bindir)/make): Install it setgid kmem.
  3349.  
  3350. Thu Nov  1 16:12:55 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3351.  
  3352.     * GNUmakefile (make-*.tar.Z): Use `h' option to tar (dereference
  3353.     symlinks), to grab texinfo.tex from wherever it lives.
  3354.  
  3355. Tue Oct 30 16:15:20 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3356.  
  3357.     * Version 3.58.13.
  3358.  
  3359. Fri Oct 26 14:33:34 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3360.  
  3361.     * GNUmakefile: make-*.tar.Z: Include texinfo.tex.
  3362.  
  3363. Tue Oct 23 19:34:33 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3364.  
  3365.     * main.c (define_makeflags): When there are no flags to write, make
  3366.     sure the array has two leading nulls, since `MAKEFLAGS' is defined from
  3367.     &flags[1].
  3368.  
  3369.     * main.c (default_keep_going_flag): New variable (constant one).
  3370.     (command_switches: -k, -S): Use above for default value.
  3371.     (define_makeflags): Only write flag/flag_off switches if they are on,
  3372.     and either there is no default value, or they are not the default.
  3373.  
  3374. Mon Oct 22 16:14:44 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3375.  
  3376.     * main.c (struct command_switch): New member `no_makefile'.
  3377.     (command_switches: -n, -q, -t): Set no_makefile == 1.
  3378.     (define_makeflags): Take new arg MAKEFILE: if nonzero, don't use
  3379.     options whose `no_makefile' flags are set.
  3380.     (main): Call define_makeflags with MAKEFILE==1 before remaking
  3381.     makefiles, and again with MAKEFILE==0 before remaking goals.
  3382.  
  3383. Tue Oct  2 17:16:45 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  3384.  
  3385.     * Version 3.58.12.
  3386.  
  3387. Mon Oct  1 15:43:23 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3388.  
  3389.     * arscan.c [HPUX]: Use PORTAR==1 format.
  3390.  
  3391. Sat Sep 29 16:38:05 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3392.  
  3393.     * make.h, remake.c, arscan.c: Don't declare `open'.
  3394.  
  3395. Fri Sep 28 04:46:23 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3396.  
  3397.     * variable.c (define_variable_in_set): Remove redundant -e check.
  3398.  
  3399. Wed Sep 26 00:28:59 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  3400.  
  3401.     * job.c (start_job): Set RECURSIVE from the right elt of
  3402.     CHILD->file->cmds->lines_recurse.
  3403.  
  3404.     * commands.c (chop_commands): Don't botch the line count for allocating
  3405.     CMDS->lines_recurse.
  3406.  
  3407.     * Version 3.58.11.
  3408.  
  3409.     * job.c (start_job): Don't always increment CHILD->command_line!  Only
  3410.     do it when CHILD->command_ptr has run out!  (Dumb bug.  Sigh.)
  3411.  
  3412. Thu Sep 20 02:18:51 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  3413.  
  3414.     * GNUmakefile [ARCH]: Give explicit rule for remote.{c,dep} to use
  3415.     variable `REMOTE' for more flags.
  3416.     ($(prog)): Link in $(LOADLIBES).
  3417.  
  3418. Wed Sep 19 02:30:36 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3419.  
  3420.     * commands.h (struct commands): New member `ncommand_lines', the number
  3421.     of elts in `command_lines' et al.
  3422.     * commands.c (chop_commands): Set `ncommand_lines' elt of CMDS, and
  3423.     don't put a nil pointer at the end of `command_lines'.
  3424.     * job.h (struct child): New member `command_lines' to hold
  3425.     variable-expanded command lines.
  3426.     * job.c (new_job): Store expanded command lines in `command_lines'
  3427.     member of new child.  Don't clobber FILE->cmds.
  3428.     (start_job): Use CHILD->command_lines in place of
  3429.     CHILD->file->cmds->command_lines.
  3430.  
  3431.     * variable.h, variable.c, job.c, expand.c: Undo yesterday's change,
  3432.     which is no longer necessary since we have cleverly avoided the issue.
  3433.  
  3434.     * job.c (start_job): Don't variable-expand each command line.
  3435.     (new_job): Do them all here, storing the expansions in the array.
  3436.  
  3437. Tue Sep 18 01:23:13 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3438.  
  3439.     * variable.h (struct variable): Remove `expanding' member.
  3440.     * variable.c (define_variable_in_set): Don't initialize it.
  3441.     * expand.c (struct variable_expanding): New type, a linked list
  3442.     containing `struct variable' pointers.
  3443.     (variables_expanding): New variable, the chain of variables currently
  3444.     being expanded.
  3445.     (recursively_expand): Don't test and set `expanding' member.
  3446.     Instead, run through the `variables_expanding' chain looking for a link
  3447.     referring to V to find self-reference.  Add a new link to the chain,
  3448.     describing V, before recursive expansion, and pop it off afterward.
  3449.     * job.c (child_handler): Save `variables_expanding' and clear it before
  3450.     calling start_job, and restore it afterward.  This avoids major lossage
  3451.     when the SIGCHLD comes in the middle of variable expansion.
  3452.  
  3453. Mon Sep 17 14:46:26 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  3454.  
  3455.     * job.c, commands.c: Don't define sigmask.
  3456.     * make.h: Put it here instead.
  3457.  
  3458.     * variable.c (target_environment): If `.NOEXPORT' was specified as a
  3459.     target, only export command-line and environment variables, and
  3460.     file-origin variables that were in the original environment.
  3461.  
  3462.     * make.man: Add missing ?roff control for `-I' option description.
  3463.  
  3464. Thu Sep 13 14:10:02 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3465.  
  3466.     * load.c [UMAX]: Move #include <sys/sysdefs.h> to [not UMAX_43].
  3467.  
  3468. Wed Sep 12 15:10:15 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3469.  
  3470.     * expand.c (recursively_expand): Don't use `reading_filename' and
  3471.     `reading_lineno_ptr' if they're nil.
  3472.  
  3473. Thu Aug 30 17:32:50 1990  Roland McGrath  (roland at geech)
  3474.  
  3475.     * Version 3.58.10.
  3476.  
  3477. Tue Aug 28 04:06:29 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3478.  
  3479.     * job.c [USG] (unknown_children_possible): New variable, set nonzero
  3480.     when it's possible for children not in the `children' chain to die.
  3481.     (block_signals) [USG]: Set it.
  3482.     (unblock_signals) [USG]: Clear it.
  3483.     (child_handler) [USG]: Don't complain about unknown children if
  3484.     `unknown_children_possible' is set.
  3485.  
  3486.     * read.c (do_define): Make sure there's enough space for the newline,
  3487.     so we don't write off the end of allocated space.
  3488.  
  3489.     * arscan.c (ar_name_equal): Fixed to work when MEM is AR_NAMELEN-1 but
  3490.     NAME is not the same length.
  3491.  
  3492. Sat Aug 25 16:17:14 1990  Roland McGrath  (roland at geech)
  3493.  
  3494.     * job.c (construct_command_argv_internal): Use a static char array for
  3495.     a constant, since old C has no auto aggregate initializers.
  3496.  
  3497. Thu Aug 23 16:11:03 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3498.  
  3499.     * job.c (search_path): If PATH is nil or "" use a default path.
  3500.  
  3501. Wed Aug 22 01:05:32 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  3502.  
  3503.     * Version 3.58.9.
  3504.  
  3505.     * job.c (exec_command): Don't take PATH and SHELL args.  Get them from
  3506.     ENVP.
  3507.     (child_execute_job): Don't take FILE arg, and don't pass path and shell
  3508.     to exec_command.
  3509.     (start_job): Don't pass FILE arg to child_execute_job.
  3510.     * function.c (expand_function: `shell'): Ditto.
  3511.     * main.c (main): Don't pass path and shell to exec_command.
  3512.  
  3513. Fri Aug 17 23:17:27 1990  Roland McGrath  (roland at geech)
  3514.  
  3515.     * job.c (construct_command_argv_internal): New fn broken out of
  3516.     construct_command_argv.  Takes strings SHELL and IFS instead of doing
  3517.     variable expansion for them.  Recurse to make an argv for SHELL,
  3518.     passing SHELL==0.  When SHELL==0, don't recurse for shell argv; make a
  3519.     simple one using /bin/sh.
  3520.     (construct_command_argv): Do the variable expansions and call above.
  3521.  
  3522. Thu Aug 16 19:03:14 1990  Roland McGrath  (roland at geech)
  3523.  
  3524.     * read.c (multi_glob): For ~USER/FILE, if USER isn't found, don't
  3525.     change the file name at all.
  3526.  
  3527. Tue Aug  7 18:33:28 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3528.  
  3529.     * function.c (expand_function: `suffix'/`notdir'): Don't kill the last
  3530.     space if we never wrote one.
  3531.  
  3532.     * function.c (expand_function: `suffix'): Retain the dot, like the
  3533.     documentation says.
  3534.  
  3535. Mon Aug  6 14:35:06 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3536.  
  3537.     * Version 3.58.8.
  3538.  
  3539.     * main.c (decode_switches): For positive_int and floating cases, move
  3540.     SW past the arg (and don't set it to ""), so another switch can follow.
  3541.  
  3542. Fri Aug  3 00:43:15 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3543.  
  3544.     * job.c (child_execute_job): Use unblock_signals instead of
  3545.     push_signals_blocked_p (0).
  3546.  
  3547.     * main.c (fatal_signal_mask): New variable, mask of signals caught with
  3548.     fatal_error_signal.
  3549.     (main): Set it.
  3550.     * job.c ({block,unblock}_children): Renamed to {block,unblock}_signals.
  3551.     Block/unblock both child signal and signals in fatal_signal_mask.
  3552.     (children_blocked_p_{stack,max,depth}, {push,pop}_children_blocked_p):
  3553.     Renamed from children to signals.  Use {block,unblock}_signals instead
  3554.     of {block,unblock}_children.
  3555.     * commands.c (fatal_error_signal), job.c (wait_for_children, new_job,
  3556.     child_execute_job, main, log_working_directory), function.c
  3557.     (expand_function: `shell'), job.h: Rename {push,pop}_children_blocked_p
  3558.     to {push,pop}_signals_blocked_p.
  3559.     * job.c (child_handler): Call {block,unblock}_signals instead of just
  3560.     {block,unblock}_remote_children.  We need to block the fatal signals.
  3561.  
  3562. Thu Aug  2 22:41:06 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3563.  
  3564.     * main.c, function.c: Fixed typos in comments.
  3565.  
  3566.     * file.c (print_file_data_base): Fix computation of avg files/bucket.
  3567.  
  3568. Tue Jul 31 22:11:14 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3569.  
  3570.     * Version 3.58.7.
  3571.  
  3572. Wed Jul 25 16:32:38 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  3573.  
  3574.     * arscan.c (ar_name_equal): Fixed to really do it right.
  3575.     (ar_member_pos): Fixed order of args.
  3576.     * ar.c (ar_member_date_1): Ditto.
  3577.  
  3578. Fri Jul 20 15:30:26 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  3579.  
  3580.     * arscan.c (ar_name_equal): Rewritten.  Accounts for a possible
  3581.     trailing slash in MEM.
  3582.  
  3583.     * remake.c (f_mtime): Keep track of whether ARNAME is used and free it
  3584.     if not.  Also free MEMNAME.
  3585.     * ar.c (ar_member_date, ar_touch): Ditto.
  3586.  
  3587.     * arscan.c (arscan) [HPUX or hpux]: Treat same as USGr3 PORTAR==1.
  3588.  
  3589.     * make.h: If NSIG is not defined, but _NSIG is, #define NSIG _NSIG.
  3590.  
  3591.     * compatMakefile: Don't use $* in explicit rules.
  3592.  
  3593.     * default.c (default_variables: "PREPROCESS.S"): Include $(CPPFLAGS).
  3594.  
  3595.     * remake.c (f_mtime): If FILE is an ar ref, get the member modtime.
  3596.  
  3597.     * function.c (string_glob): Terminate the string properly when it's
  3598.     empty.
  3599.  
  3600. Wed Jul 18 11:26:56 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3601.  
  3602.     * Version 3.58.6.
  3603.  
  3604.     * commands.c (set_file_variables): Fixed computation for ^F/?F elt len.
  3605.  
  3606. Sat Jul 14 13:41:24 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3607.  
  3608.     * job.c (construct_command_argv): Always use
  3609.     allocated_variable_expand_for_file instead of variable_expand_for_file
  3610.     because we might be called from inside a variable expansion (for the
  3611.     `shell' function).
  3612.  
  3613.     * function.c (expand_function: `shell'): Free the arglist's storage
  3614.     correctly.  construct_command_argv only allocates ARGV and ARGV[0].
  3615.  
  3616.     * job.c (children_blocked_p_idx): Renamed to children_blocked_p_depth.
  3617.     (push_children_blocked_p, pop_children_blocked_p): Use ..._depth
  3618.     instead of ..._idx, and do it right!
  3619.  
  3620. Wed Jul 11 15:35:43 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3621.  
  3622.     * make.h (SIGNAL): New macro to replace `signal' calls.  Does arg and
  3623.     ret value casts to (void *) #ifdef __STDC__ to avoid conflicts btwn
  3624.     ANSI and BSD `signal' and handler types.
  3625.     * main.c (main), job.c (child_handler): Use it.
  3626.  
  3627. Fri Jul  6 00:00:38 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3628.  
  3629.     * ar.c (ar_member_date, ar_touch): Pass 2nd arg to f_mtime.
  3630.  
  3631.     * read.c (read_makefile): Search the include path for MAKEFILES
  3632.     variable makefiles (TYPE == 1), like it says in the manual.
  3633.  
  3634.     * file.h (struct file), main.c (struct command_switch): Remove trailing
  3635.     commas from enums.
  3636.  
  3637.     * commands.c (execute_file_commands): Remove unused variables.
  3638.     * commands.h: Declare chop_commands.
  3639.     * make.h: Declare uniquize_deps.
  3640.     * main.c (main): Remove unused variable.
  3641.     (decode_switches): Remove unused label.
  3642.     * remake.c: Include "ar.h" for ar_parse_name decl.
  3643.     * implicit.c (try_implicit_rule): Remove unused variable.
  3644.     * function.c (expand_function: `shell'): Declare fork, pipe.
  3645.     * ar.c: Declare ar_name_equal.
  3646.  
  3647.     * GNUmakefile: If using gcc, add warning flags to CFLAGS.
  3648.  
  3649.     * remake.c: Remove decl of ar_member_date, since it's done in make.h.
  3650.  
  3651.     * remake.c (f_mtime): For ar refs, allow the archive to be found via
  3652.     VPATH search if we're searching, and change the ar ref accordingly.
  3653.  
  3654.     * ar.c (ar_parse_name): New global fn to parse archive-member
  3655.     references into the archive and member names.
  3656.     (ar_member_date, ar_touch): Use it.
  3657.     * make.h: Declare it.
  3658.  
  3659.     * remake.c (f_mtime): After doing rename_file, do check_renamed instead
  3660.     of assuming rename_file will always set FILE->renamed (which it won't).
  3661.  
  3662.     * vpath.c (selective_vpath_search): Only accept prospective files that
  3663.     don't actually exist yet are mentioned in a makefile if the file we are
  3664.     searching for isn't a target.
  3665.  
  3666. Wed Jul  4 04:11:55 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  3667.  
  3668.     * remake.c (update_goal_chain): Do check_renamed after calling
  3669.     file_mtime.
  3670.     (check_dep): Ditto after update_file.
  3671.  
  3672.     * file.c (rename_file): Prettied up long message for merging cmds.
  3673.  
  3674.     * remake.c (update_file_1): Get each dep file's modtime, and allow for
  3675.     it being renamed, before checking for a circular dep, since a renaming
  3676.     may have introduced one.
  3677.  
  3678. Tue Jul  3 18:15:01 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3679.  
  3680.     * ar.c (ar_touch): Don't free ARNAME since enter_file holds onto the
  3681.     storage.
  3682.  
  3683.     * function.c (string_glob): Don't leave a trailing space.
  3684.  
  3685.     * read.c (do_define): Allow leading whitespace before `endef'.
  3686.  
  3687. Mon Jul  2 14:10:16 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3688.  
  3689.     * implicit.c (pattern_search): No longer take NAME arg.  Instead take
  3690.     ARCHIVE flag.  If ARCHIVE is nonzero, FILE->name is of the form
  3691.     "LIB(MEMBER)"; rule for "(MEMBER)" is searched for, and LASTSLASH is
  3692.     set to nil.  Since NAME was only non-nil when it was the archive member
  3693.     name passed by try_implicit_rule, this change easily allows turning off
  3694.     LASTSLASH checking for archive members without excessive kludgery.
  3695.     (try_implicit_rule): Pass ARCHIVE flag instead of file name.
  3696.  
  3697.     * Version 3.58.5.
  3698.  
  3699.     * commands./c (set_file_variables): Don't kill last char of $(^D) elts.
  3700.  
  3701. Sat Jun 30 00:53:38 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3702.  
  3703.     * ar.c (ar_member_date): Don't free ARNAME since enter_file holds onto
  3704.     the storage.
  3705.  
  3706.     * arscan.c (ar_scan) [sun386 && PORTAR == 1]: Treat like USGr3.
  3707.  
  3708. Wed Jun 27 14:38:49 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3709.  
  3710.     * main.c (main): Put a newline on the debugging message when deciding
  3711.     not to remake a makefile to avoid a possible loop.
  3712.     Only decide not to remake makefiles that have commands (as well as
  3713.     being targets and having no deps).
  3714.  
  3715. Fri Jun 22 12:35:37 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3716.  
  3717.     * default.c (default_variables): Define `LINK.s' and `LINK.S'.
  3718.     (default_suffix_rules): Define .S.o rule.
  3719.  
  3720.     * job.c (construct_command_argv): If we decide to go the slow route,
  3721.     free all storage for the chopped args.
  3722.     (start_job): Free the argument list's storage correctly.
  3723.     construct_command_argv only allocates ARGV and ARGV[0].
  3724.  
  3725. Tue Jun 19 18:27:43 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3726.  
  3727.     * Version 3.58.4.
  3728.  
  3729. Fri Jun 15 21:12:10 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3730.  
  3731.     * glob.c: New version from ai-lab which doesn't do [^abc].
  3732.  
  3733. Thu Jun  7 00:30:46 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3734.  
  3735.     * dir.c: Copied dirent vs direct et al mess from glob.c.
  3736.  
  3737.     * glob.c: Replaced with updated version from djm.
  3738.     * glob.c: Check macro DIRENT instead of _POSIX_SOURCE for <dirent.h>.
  3739.     __GNU_LIBRARY__ implies DIRENT and STDC_HEADERS.
  3740.  
  3741. Thu May 31 22:19:49 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3742.  
  3743.     * vpath.c (vpath_search): Don't stop the loop if a pattern matches but
  3744.     the search fails.  All matching patterns have their paths searched
  3745.     (like it says in the manual).
  3746.  
  3747.     * make.texinfo (Rules: Directory Search: Selective Search): Say that
  3748.     multiple `vpath' directives with the same pattern DO accumulate, not
  3749.     supersede earlier ones.
  3750.  
  3751.     * vpath.c (print_vpath_data_base): Increment the count of vpaths on
  3752.     each loop iteration, rather than letting it stay zero.
  3753.  
  3754.     * Version 3.58.3.
  3755.  
  3756.     * job.c (block_children, unblock_children): Made static.
  3757.     (push_children_blocked_p, pop_children_blocked_p): New functions to
  3758.     push and pop whether children are blocked or not.
  3759.     * job.h: Declare push_children_blocked_p, pop_children_blocked_p and
  3760.     not block_children, unblock_children.
  3761.     * commands.c (fatal_error_signal), job.c (wait_for_children, new_job,
  3762.     child_execute_job), main.c (main, log_working_directory): Use sequences
  3763.     of push_children_blocked_p (1) and pop_children_blocked_p () instead of
  3764.     explicitly blocking and unblocking children.
  3765.     * function.c (expand_function: `shell'): Don't unblock children.  The
  3766.     push-pop sequence in wait_for_children makes it unnecessary.
  3767.  
  3768. Tue May 29 21:30:00 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  3769.  
  3770.     * read.c (do_define): Don't include the last newline in the definition.
  3771.  
  3772.     * function.c (expand_function: `shell'): Call construct_command_argv
  3773.     before forking and don't fork if it returns nil.  Free the argument
  3774.     list's storage before finishing.
  3775.  
  3776.     * job.c (start_job): Free the storage for the child's argument list
  3777.     in the parent side of the fork after the child has been spawned.
  3778.  
  3779.     * job.c (start_job): If construct_command_argv returns nil, go to the
  3780.     next command line.
  3781.  
  3782.     * job.c (construct_command_argv): Use the shell if the command contains
  3783.     an unterminated quote.
  3784.  
  3785. Wed May 23 19:54:10 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3786.  
  3787.     * Version 3.58.2.
  3788.  
  3789.     * read.c (read_makefile): Parse "override define" correctly.
  3790.  
  3791. Thu May 17 15:25:58 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3792.  
  3793.     * arscan.c [USG]: Don't declare memcpy and memcmp.  <memory.h> should
  3794.     do this anyway (and lack of declarations is harmless).
  3795.  
  3796.     * remote-customs.c: Renamed to remote-cstms.c for System V.
  3797.     * remote.c [CUSTOMS]: Changed accordingly.
  3798.  
  3799. Sun May 13 14:38:39 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3800.  
  3801.     * GNUmakefile: Use same cmds for doc tar.Z as for dist tar.Z (so the
  3802.     contents go in make-N.NN).
  3803.  
  3804. Thu Apr 26 19:33:25 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3805.  
  3806.     * Version 3.58.1.
  3807.  
  3808. Wed Apr 25 20:27:52 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3809.  
  3810.     * job.c (init_siglist): Don't do SIGUSR1 and SIGUSR2 if they are the
  3811.     same as SIGIO and SIGURG (true on Cray).
  3812.  
  3813. Tue Apr 24 20:26:41 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3814.  
  3815.     * arscan.c (ar_scan): Do behavior for PORTAR == 1 and USGr3 also
  3816.     #ifdef APOLLO.
  3817.  
  3818. Wed Apr 11 10:00:39 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3819.  
  3820.     * job.c (exec_command): Set the effective GID to the real GID.  Somehow
  3821.     this code got lost.
  3822.  
  3823.     * implicit.c (pattern_search): Use the right index variable when
  3824.     seeing if we need to expand FILE->also_make.
  3825.  
  3826. Sun Mar  4 09:18:58 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3827.  
  3828.     * Version 3.58.0.
  3829.  
  3830.     * remake.c (remake_file): Treat non-targets without commands under -t
  3831.     the same as anything else without commands.
  3832.  
  3833. Sat Feb 24 17:46:04 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3834.  
  3835.     * default.c (default_variables: PREPROCESS.S): Removed $< from defn.
  3836.  
  3837.     * main.c (main): Ignore arguments that are the empty string, rather
  3838.     than feeding them to enter_file and barfing therein.
  3839.  
  3840. Wed Feb 14 16:28:37 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3841.  
  3842.     * main.c (main): Call construct_include_path after doing chdirs.
  3843.  
  3844. Thu Feb  8 13:43:44 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3845.  
  3846.     * Version 3.58.
  3847.  
  3848. Sat Feb  3 22:06:55 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3849.  
  3850.     * Version 3.57.7.
  3851.  
  3852.     * make.texinfo (Implicit: Catalogue of Rules): For RCS, noted that
  3853.     working files are never overwritten by the default rule.
  3854.  
  3855. Thu Feb  1 17:27:54 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3856.  
  3857.     * rule.c (count_implicit_rule_limits): Redid loop control to not run
  3858.     twice on freed rules.
  3859.  
  3860.     * GNUmakefile: Made `.dep' files be architecture-specific too.
  3861.  
  3862.     * main.c (main, log_working_directory) [USG]: Block children around
  3863.     calls to `getwd' (actually `getcwd' on USG), because that function
  3864.     sometimes spawns a child running /bin/pwd on USG.
  3865.  
  3866. Tue Jan 30 14:02:50 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3867.  
  3868.     * function.c (subst_expand): Pay attention to SUFFIX_ONLY, putz.
  3869.  
  3870. Wed Jan 24 21:03:29 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3871.  
  3872.     * make.man: Fixed repeated word.
  3873.  
  3874.     * make.texinfo (Missing): Reworded a buggy sentence.
  3875.  
  3876. Mon Jan 22 12:39:22 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3877.  
  3878.     * main.c (print_version): Added 1990 to copyright notice.
  3879.  
  3880.     * Version 3.57.6.
  3881.  
  3882. Sat Jan 20 11:52:01 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  3883.  
  3884.     * file.c (rename_file): Don't free the storage for the old name, since
  3885.     it might not have been malloc'd.
  3886.  
  3887.     * job.c (construct_command_argv): Call
  3888.     allocated_variable_expand_for_file instead of variable_expand_for_file
  3889.     to expand `$(SHELL)'.
  3890.  
  3891.     * make.texinfo (Bugs): Change address from roland@wheaties.ai.mit.edu
  3892.     to roland@prep.ai.mit.edu.
  3893.  
  3894. Tue Jan 16 19:22:33 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  3895.  
  3896.     * Version 3.57.5.
  3897.  
  3898. Sun Jan 14 16:48:01 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  3899.  
  3900.     * job.c (start_job): Only call wait_to_start_job for the first command
  3901.     line in each sequence.
  3902.  
  3903. Thu Jan  4 14:27:20 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  3904.  
  3905.     * load.c [LDAV_BASED] (wait_to_start_job): Loop while job_slots_used >
  3906.     0, not > 1.
  3907.  
  3908.     * job.c (search_path): Don't return a pointer to local storage.
  3909.     Allocate data space for the pathname instead.
  3910.  
  3911.     * function.c (expand_function: `shell'): Don't write garbage if the
  3912.     child wrote no output.
  3913.  
  3914. Wed Jan  3 15:28:30 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  3915.  
  3916.     * Version 3.57.4.
  3917.  
  3918.     * file.h (struct file): New member `renamed', a `struct file *' that is
  3919.     the place this file has been renamed to (or nil).
  3920.     (check_renamed): Macro to check for a file having been renamed.
  3921.     Dereferences the renaming and sets the given variable.
  3922.     * file.c (rename_file): Completely rewritten.  Renames in place if
  3923.     possible, or moves FILE to a different hash bucket if there is no
  3924.     existing file with the new name.  If there is an existing file with the
  3925.     new name, FILE is merged into it and FILE->renamed is set to point to
  3926.     it.
  3927.     * variable.c (merge_variable_sets): New fn to merge two variable sets.
  3928.     (merge_variable_set_lists): New fn to merge two variable set lists.
  3929.     * variable.h: Declare merge_variable_set_lists.
  3930.     * remake.c (update_file_1, check_dep): Run `check_renamed' after
  3931.     calling file_mtime, check_dep.
  3932.     (update_file): Same after update_file_1.
  3933.     (update_goal_chain, update_file_1, check_dep): Same after update_file.
  3934.  
  3935.     * read.c (uniquize_deps): New fn, broken out of record_files, to remove
  3936.     duplicate deps from a chain.
  3937.     (record_files): Use it.
  3938.     * implicit.c (pattern_search): Use uniquize_deps.
  3939.  
  3940.     * file.h (file_mtime_1): New macro, like file_mtime, but take second
  3941.     arg, passed to f_mtime.
  3942.     (file_mtime): Implement as file_mtime_1 (file, 1).
  3943.     (file_mtime_no_search): New macro: file_mtime (file, 0).
  3944.     * remake.c (f_mtime): Take new arg SEARCH.  Only do VPATH and `-lNAME'
  3945.     searching if it is nonzero.
  3946.     * main.c (main): Use file_mtime_no_search for makefiles.
  3947.     * remake.c (update_goal_chain): Use file_mtime_no_search if MAKEFILES.
  3948.  
  3949.     * main.c (printed_version): New variable, init'd to zero.
  3950.     (print_version): Set it to nonzero before returning.
  3951.     (die): If -v and !printed_version, call print_version before clean up
  3952.     and death.
  3953.  
  3954.     * main.c (log_working_directory): Keep track of whether or not the
  3955.     "Entering" message has been printed, and return without printing the
  3956.     "Leaving" message if not.
  3957.  
  3958.     * main.c (decode_switches): Don't complain about missing args before
  3959.     checking for a noarg_value elt in the command_switch structure.
  3960.  
  3961. Tue Jan  2 15:41:08 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  3962.  
  3963.     * make.texinfo (Commands: Recursion: Options/Recursion): Document
  3964.     special case of -j.
  3965.  
  3966.     * make.texinfo, main.c, job.c: Changed copyright notices to include
  3967.     1990.
  3968.  
  3969.     * make.texinfo (Top): Fixed introductory paragraph, which said that
  3970.     `make' itself (instead of the manual) has various chapters.
  3971.     (Variables: Advanced: Substitution Refs): When pxref'ing about
  3972.     `patsubst', use node `Text Functions', not `Functions'.
  3973.     Add an xref about `patsubst' after description of $(var:a%b=c%d).
  3974.     (Functions: Syntax of Functions): Explain why mixing delimiters in
  3975.     function/var refs is unwise.  Clarify fn arg evaluation order.
  3976.     (Options): Reworded sentence about `-e'.
  3977.     (Implicit: Implicit Variables): Don't say `RM' is unused.
  3978.     Say the dflt values for the flag vars is empty unless otherwise noted,
  3979.     since some have defaults.
  3980.     (Implicit: Pattern Rules: Pattern Examples): Clarified use of $< and $@
  3981.     in first example.
  3982.     (Implicit: Last Resort): Don't say the .DEFAULT example creates files
  3983.     "silently".  It's automatic, but not silent.
  3984.     (Implicit: Search Algorithm): Fixed confusing ungrammatical sentence
  3985.     for item 5.1.
  3986.     (Archives: Archive Update): Added missing `next' pointer.
  3987.     (Archives: Archive Symbols): Note that GNU `ar' deals with this
  3988.     automatically.
  3989.  
  3990.     * job.c (search_path): New fn, to search for an executable file in a
  3991.     search path (broken out of exec_command).
  3992.     (exec_command): Take fourth arg, the shell program to use (if
  3993.     necessary).  Use search_path for the program, and the shell program.
  3994.     Pass args "file args ..." to shell program (with no -c), where FILE is
  3995.     the full pathname of the program (script) to be run.
  3996.     (child_execute_job): Pass shell program to exec_command.
  3997.     * main.c (main): Ditto.
  3998.  
  3999.     * main.c (main): Don't write a message if exec_command returns, because
  4000.     it will never return.
  4001.  
  4002. Fri Dec 22 16:19:58 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  4003.  
  4004.     * default.c (default_variables: "LINK.cc"): Use $(C++FLAGS) instead of
  4005.     $(CFLAGS).
  4006.  
  4007. Wed Dec 20 09:58:48 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  4008.  
  4009.     * job.c (new_job): If start_job set the child's `command_state' to
  4010.     `cs_finished', call notice_finished_file.
  4011.  
  4012. Sun Dec 17 19:45:41 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  4013.  
  4014.     * Version 3.57.3.
  4015.  
  4016. Wed Dec 13 17:57:12 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4017.  
  4018.     * rule.c (convert_to_pattern): Accept files with dependencies as
  4019.     suffix rules.
  4020.  
  4021. Thu Nov 30 15:47:13 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  4022.  
  4023.     * Version 3.57.2.
  4024.  
  4025.     * function.c (expand_function: `shell'): Don't clobber BUFFER and then
  4026.     try to free it.
  4027.  
  4028.     * remake.c (update_file_1): Took code to force remake of nonexistent
  4029.     deps out of #if 0, and changed the test to nonexistent non-intermediate
  4030.     deps.  In version 4, I think removing this test completely will
  4031.     implement the new feature that if a: b and b: c and c is newer than a,
  4032.     b need not be remade.
  4033.  
  4034. Sun Nov 26 16:12:41 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4035.  
  4036.     * compatMakefile (load.o, remote.o): Use $*.c instead of explicit file
  4037.     names so that using VPATH works.
  4038.  
  4039. Tue Nov 21 14:57:18 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4040.  
  4041.     * Version 3.57.1.
  4042.  
  4043. Fri Nov 10 03:28:40 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4044.  
  4045.     * remake.c (check_dep): Set *MUST_MAKE_PTR if FILE does not exist after
  4046.     being updated.  (The exact opposite test was here before; why???)
  4047.     (update_file_1): Set a dep's `changed' member after updating it if it
  4048.     is phony and has commands (because they will then always be executed).
  4049.  
  4050. Thu Nov  9 13:47:12 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4051.  
  4052.     * load.c [UMAX]: #ifdef UMAX_43 include different headers for the
  4053.     `inq_stats' call.
  4054.     * compatMakefile (LOAD_AVG): Document UMAX_43.
  4055.  
  4056.     * Version 3.57.0.
  4057.  
  4058.     * commands.c (chop_commands): New function to chop commands into lines.
  4059.     * job.c (new_job): Break that code out, and call chop_commands.
  4060.     * remake.c (remake_file): Call chop_commands before looking at
  4061.     FILE->cmds->any_recurse.
  4062.  
  4063.     * make.texinfo (Running: Goals): Don't say that the default target
  4064.     won't be taken from an included makefile.
  4065.  
  4066.     * remake.c (update_file_1): #if 0 out setting MUST_MAKE if a dep
  4067.     doesn't exist.
  4068.  
  4069. Fri Nov  3 15:53:03 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  4070.  
  4071.     * Version 3.57.
  4072.  
  4073.     * variable.c (try_variable_definition): Don't calculate useless value.
  4074.  
  4075.     * main.c (define_makeflags): Fixed -j propagation.
  4076.  
  4077.     * commands.c (execute_file_commands): Removed unused variable.
  4078.  
  4079. Sun Oct 29 11:11:15 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4080.  
  4081.     * commands.c (execute_file_commands): If the commands are empty, call
  4082.     notice_finished_file before returning.
  4083.  
  4084. Sat Oct 28 23:06:32 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4085.  
  4086.     * remake.c (update_file_1): Don't always update a target that has no
  4087.     deps.  Only do this for double-colon targets.
  4088.  
  4089. Wed Oct 25 16:36:16 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4090.  
  4091.     * main.c (main) [hpux]: hpux == HPUX.
  4092.     * compatMakefile (defines): Document that HPUX should be defined.
  4093.  
  4094. Tue Oct 24 19:19:48 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4095.  
  4096.     * Version 3.56.8.
  4097.  
  4098.     * job.c (exec_command): Fixed what mode bits are checked.
  4099.  
  4100.     * remake.c (update_file_1): "No cmds and no deps actually changed"
  4101.     loses if ! FILE->is_target.
  4102.  
  4103.     * make.texinfo (Variables: Setting): Don't say that spaces after a
  4104.     variable definition are ignored (since they aren't).
  4105.  
  4106. Mon Oct 23 14:34:23 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4107.  
  4108.     * Version 3.56.7.
  4109.  
  4110.     * remake.c (update_file_1): If, after being updated, any dependency
  4111.     does not exist, remake the target.
  4112.  
  4113.     * remake.c (update_file_1): Always update if FILE has commands but no
  4114.     deps.
  4115.  
  4116.     * commands.c (execute_file_commands): If we return early because there
  4117.     are no commands, set FILE->updated.
  4118.  
  4119. Thu Oct 19 18:47:37 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4120.  
  4121.     * arscan.c (ar_scan) [M_XENIX]: Don't run atoi or atol on the
  4122.     `struct ar_hdr' members that are int or long int on Xenix.
  4123.  
  4124. Sat Oct 14 10:43:03 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4125.  
  4126.     * arscan.c (ar_scan): Cosmetic clean ups.
  4127.     (ar_name_equal): New function to compare names, handling truncated
  4128.     member names and special `.o' truncation.
  4129.     (ar_member_pos): Use ar_name_equal.
  4130.     * ar.c (ar_member_date_1): Use ar_name_equal.
  4131.  
  4132.     * Version 3.56.6.
  4133.  
  4134.     * file.h (struct file): Made `update_status' a `short int', and moved
  4135.     it before `command_state' so the bitfields can be packed better.
  4136.  
  4137.     * remake.c (files_remade): Made global.
  4138.     (notice_finished_file): Don't increment files_remade.
  4139.     * job.c (new_job): Do.
  4140.  
  4141.     * job.c (start_job): Don't return a value.  Always set
  4142.     CHILD->file->command_state to either cs_running or cs_finished.
  4143.     (new_job, child_handler): Don't expect start_job to return a value.
  4144.     Instead, look at the file's command_state.
  4145.  
  4146.     * commands.c (chop_commands): Merged into job.c (new_job).
  4147.     * commands.h: Don't declare chop_commands.
  4148.  
  4149.     * job.c (start_job): Made static.
  4150.     (new_job): New function to create a `struct child' and call start_job.
  4151.     (free_child): New function to free a `struct child'.
  4152.     (child_handler, new_job): Call it.
  4153.     * job.h: Don't declare start_job.  Do declare new_job.
  4154.     * commands.c (execute_file_commands): Call new_job.
  4155.  
  4156.     * commands.c (execute_file_commands): Don't set FILE->update_status if
  4157.     start_job fails.
  4158.  
  4159.     * function.c (expand_function): Don't use `reading_filename' and
  4160.     `reading_lineno_ptr' if they're nil.
  4161.  
  4162. Fri Oct 13 18:16:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4163.  
  4164.     * read.c (find_semicolon): New function to look for an unquoted ; not
  4165.     preceded by an unquoted # in a string.
  4166.     (read_makefile): Call it before expanding the line.  If it finds a ;,
  4167.     cut the line short there before expanding it.  If not, call it again
  4168.     after expanding.
  4169.  
  4170.     * commands.c (execute_file_commands): Don't check FILE->command_state.
  4171.     We won't get called unless it's cs_not_started.
  4172.  
  4173.     * read.c (read_makefile): Call collapse_line on the variable-expanded
  4174.     rule line after checking for ; and #.
  4175.  
  4176.     * job.c (start_job): When there are no more commands, always return 0.
  4177.     * commands.c (execute_file_commands): Don't put the new child in the
  4178.     `children' chain unless FILE->command_state is cs_running.
  4179.  
  4180.     * read.c (read_makefile): Rewrote ;-handling to only do it once (why
  4181.     did I do it twice??) and to check for a # before the ;.
  4182.  
  4183.     * job.c (start_job): Set CHILD->file->update_status to 0 when we run
  4184.     out of commands.  Set it to 1 before returning failure.
  4185.     (child_handler): Don't set C->file->update_status to 0 when start_job
  4186.     returns success and commands are not running.
  4187.  
  4188.     * read.c (read_makefile): If there is a # before the ; for commands,
  4189.     forget the ; and commands.
  4190.  
  4191. Thu Oct 12 15:48:16 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4192.  
  4193.     * job.c (child_execute_job): Pass -c to the shell.
  4194.  
  4195. Wed Oct 11 18:41:10 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4196.  
  4197.     * Version 3.56.5.
  4198.  
  4199.     * main.c (define_makeflags): Cleaned up to keep better track of dashes
  4200.     written, etc.
  4201.  
  4202.     * function.c (expand_function: `shell'): When converting newlines to
  4203.     spaces in output, search with `index' calls rather than a simple loop.
  4204.  
  4205.     * main.c (main): Make sure stdout is line-buffered.
  4206.  
  4207.     * main.c (decode_switches): Always check for missing switch arg.
  4208.  
  4209. Mon Oct  9 17:17:23 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4210.  
  4211.     * Version 3.56.4.
  4212.  
  4213. Sat Oct  7 00:32:25 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4214.  
  4215.     * commands.c (set_file_variables): #ifdef NO_ARCHIVES, still set $@ and
  4216.     $%.
  4217.  
  4218.     * commands.c (set_file_variables): Include a trailing slash in the
  4219.     directory variables (@D, etc.).
  4220.  
  4221.     * job.c (child_handler): Call notice_finished_file after changing a
  4222.     child's state to `cs_finished'.
  4223.     * remake.c (update_file_1): Don't call notice_finished_file if
  4224.     FILE->command_state == cs_finished.
  4225.  
  4226. Wed Oct  4 16:09:33 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4227.  
  4228.     * Version 3.56.3.
  4229.  
  4230. Tue Oct  3 21:09:51 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4231.  
  4232.     * read.c (read_all_makefiles): When setting elements of MAKEFILES from
  4233.     the contents of read_makefiles, make sure we're using the right
  4234.     element.
  4235.  
  4236.     * dir.c, glob.c [USGr3 || DIRENT]: Don't define d_ino as d_fileno.
  4237.  
  4238.     * Version 3.56.2.
  4239.  
  4240.     * remake.c (update_file_1): Return zero after calling remake_file if
  4241.     FILE->command_state != cs_finished.  Test update_status thoroughly.
  4242.  
  4243.     * commands.c (execute_file_commands): Don't call notice_finished_file.
  4244.  
  4245.     * remake.c (remake_file): Return immediately after calling
  4246.     execute_file_commands.
  4247.  
  4248. Sat Sep 30 14:57:05 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4249.  
  4250.     * Version 3.56.1 (alpha).
  4251.  
  4252.     * file.h (struct file): Made `update_status' not be a bitfield, since
  4253.     some broken compilers don't handle it right.
  4254.  
  4255.     * function.c (expand_function: `join'): Don't clobber the pointers and
  4256.     then try to free them.
  4257.  
  4258.     * job.c (exec_command): Fixed & vs = precedence problem.
  4259.  
  4260. Thu Sep 28 17:29:56 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4261.  
  4262.     * remake.c (update_file_1): Fixed typo in debugging output.
  4263.  
  4264.     * remake.c (library_file_mtime): Search for /usr/local/lib/libLIB.a
  4265.     after /usr/lib/libLIB.a.
  4266.  
  4267. Tue Sep 26 16:07:58 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  4268.  
  4269.     * read.c (conditional_line): For `ifeq (a, b)', swallow space after the
  4270.     comma.
  4271.  
  4272. Sun Sep 24 13:25:32 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4273.  
  4274.     * function.c (patsubst_function): If BY_WORD and the match is not a
  4275.     full word, update the text pointer correctly.
  4276.  
  4277.     * function.c (expand_function: `word'): Don't lose track of the second
  4278.     arg's expansion and free something else instead.
  4279.  
  4280. Fri Sep 22 16:15:29 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4281.  
  4282.     * Version 3.56.
  4283.  
  4284. Thu Sep 21 14:28:42 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4285.  
  4286.     * main.c (main): Make an array of the mtimes of the makefiles before
  4287.     updating them, and compare their file_mtimes against this later.  Don't
  4288.     re-exec if a makefile was successfully updated but didn't change.  If a
  4289.     makefile failed to be remade and no longer exists, die.  If a makefile
  4290.     failed to be remade, but changed anyway, re-exec.  If a makefile failed
  4291.     to be remade, but is unchanged, continue on.
  4292.  
  4293. Wed Sep 20 18:02:07 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4294.  
  4295.     * Version 3.55.6.
  4296.  
  4297.     * implicit.c (pattern_search): Maintain an array CHECK_LASTSLASH of the
  4298.     CHECK_LASTSLASH flag values used to match each member of TRYRULES.
  4299.     When making FILE->stem, if CHECKED_LASTSLASH[FOUNDRULE], prepend the
  4300.     part of FILENAME before LASTSLASH.
  4301.  
  4302. Tue Sep 19 17:44:08 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4303.  
  4304.     * dir.c (dir_file_exists_p): Check for FILENAME being nil before
  4305.     checking for it being "".
  4306.  
  4307.     * main.c (define_makeflags): Fixed test for whether a flag/flag_off
  4308.     option was non-default.  Also changed to generate a string that Unix
  4309.     Make will grok (except for FP/int values and new flags).
  4310.  
  4311.     * job.c (child_execute_job): Don't use the shell's -c option.
  4312.     Also fixed an off-by-one bug in the ARGV -> shell arg list copying.
  4313.  
  4314. Mon Sep 18 15:17:31 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4315.  
  4316.     * Version 3.55.5.
  4317.  
  4318.     * read.c (parse_file_seq): Check the beginning of the file name for a
  4319.     `./', not the two chars after the end of the name (Q rather than P).
  4320.  
  4321.     * job.c (child_execute_job): Include all of ARGV in the arg list for
  4322.     the shell.
  4323.  
  4324.     * main.c (define_makeflags): Don't include floating and positive_int
  4325.     options in !PF.
  4326.  
  4327.     * job.c (exec_command): Set the effective gid to the real gid before
  4328.     execing.
  4329.  
  4330.     * job.c (child_execute_job): Don't clobber the arg list when execing
  4331.     the shell.
  4332.  
  4333. Sun Sep 17 15:27:19 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4334.  
  4335.     * main.c (define_makeflags): Moved all the checking inside the switch.
  4336.  
  4337.     * load.c [LDAV_BASED] (load_average): When we can't get the load
  4338.     average, return zero instead of running off the end.
  4339.  
  4340.     * file.c: Include variables.h.
  4341.     * job.c: Declare dup2 and {block,unblock}_remote_children.
  4342.     * file.h: Declare f_mtime.
  4343.     * job.c: Don't declare construct_command_argv, since job.h does.
  4344.     * function.c, main.c, load.c, remake.c: Include job.h.
  4345.     * load.c [LDAV_BASED] (load_average): Declare nlist.
  4346.     * variable.h: Declare print_file_variables.
  4347.     * job.c [!USG]: Don't declare sigsetmask.
  4348.     [!USG]: Declare getdtablesize.
  4349.     Don't declare load_average.  Do declare wait_to_start_job.
  4350.     Declare vfork, gete[gu]id, execve.
  4351.     * commands.c: Declare remote_kill, getpid.
  4352.     * make.h: Declare kill, exit, sigblock, pipe, close, ctime, open,
  4353.     lseek, read.
  4354.     * make.h [not USG]: Declare sigsetmask.
  4355.     * job.h: Declare wait_for_children and {block,unblock}_children.
  4356.  
  4357.     * dir.c (dir_file_exists_p): If FILENAME is nil, read in the whole
  4358.     directory.
  4359.     (find_directory): When we want to read in the whole directory, call
  4360.     dir_file_exists_p with nil instead of "".
  4361.  
  4362.     * file.h (struct file), job.h (struct child),
  4363.       variable.h (struct variable): Use bitfields for flags.
  4364.     * make.h (ENUM_BITFIELD): If GCC or #ifdef ENUM_BITFIELDS, define as
  4365.     :BITS, else empty.
  4366.     * compatMakefile (defines): Document ENUM_BITFIELDS.
  4367.  
  4368. Sat Sep 16 12:38:58 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4369.  
  4370.     * Version 3.55.4 (alpha).
  4371.  
  4372.     * GNUmakefile (dist): Depend on default and doc.
  4373.  
  4374.     * load.c [LDAV_BASED]: Include <nlist.h> rather than <a.out.h>; #ifdef
  4375.     NLIST_NAME_UNION, use n_un.n_name instead of n_name.
  4376.     * compatMakefile (LOAD_AVG): Document NLIST_NAME_UNION.
  4377.  
  4378.     * job.c [USG-ish]: Don't redefine WIF{SIGNALED,EXITED} if they're
  4379.     already defined.
  4380.  
  4381. Fri Sep 15 13:59:42 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4382.  
  4383.     * glob.c, dir.c [USGr3 or DIRENT]: If neither d_ino, nor d_fileno is
  4384.     defined, define d_ino as d_fileno.
  4385.  
  4386. Thu Sep 14 18:29:38 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4387.  
  4388.     * job.c: Don't declare exec_command static.
  4389.  
  4390.     * make.texinfo (Name Index): Changed title to include directives.
  4391.  
  4392.     * Version 3.55.3 (alpha).
  4393.  
  4394.     * make.texinfo (Running: Options): Document -e.
  4395.  
  4396.     * main.c (main): Always give imported environment variables origin
  4397.     `o_env'.
  4398.     * variable.c (define_variable_in_set): Under -e, if ORIGIN, or an
  4399.     existing variable's origin, is `o_env', make it `o_env_override'.
  4400.  
  4401.     * load.c: Use the symbol KERNEL_FILE_NAME instead of KERNEL_FILE.
  4402.     * compatMakefile: Changed the comment for `LOAD_AVG' accordinly.
  4403.  
  4404. Thu Sep  7 16:46:26 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4405.  
  4406.     * Version 3.55.2 (alpha).
  4407.  
  4408.     * variable.c (print_variable_set), rule.c (print_rule_data_base),
  4409.     file.c (print_file_data_base): If NO_FLOAT is defined, don't use
  4410.     floating-point for printing statistics.
  4411.     * compatMakefile (defines): Document NO_FLOAT.
  4412.  
  4413.     * make.h (HASH): New macro to add the hashing value of one char to a
  4414.     variable.c.
  4415.     * file.c (lookup_file, enter_file, rename_file): Use it.
  4416.     * dir.c (find_directory, dir_file_exists_p, file_impossible_p): Ditto.
  4417.     * variable.c (define_variable_in_set, lookup_variable): Same here.
  4418.  
  4419.     * variable.c, file.c, dir.c: Don't define *_BUCKETS if they are already
  4420.     defined.
  4421.  
  4422.     * compatMakefile (defines): Added comment about defining NO_ARCHIVES.
  4423.     (ARCHIVES, ARCHIVES_SRC): New variables for {ar,arscan}.[oc].
  4424.     (objs, srcs): Use $(ARCHIVES) and $(ARCHIVES_SRC).
  4425.     * commands.c (set_file_variables), dir.c (file_exists_p),
  4426.     remake.c (touch_file, name_mtime), implicit.c (try_implicit_rule,
  4427.     pattern_search), make.h: If NO_ARCHIVES is #defined, don't do any
  4428.     archive stuff.
  4429.  
  4430.     * commands.c (set_file_variables): Don't kill the last char of
  4431.     directory names in $([@*<%?^]D).
  4432.  
  4433. Wed Sep  6 15:23:11 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4434.  
  4435.     * default.c (default_terminal_rules {%:: %,v}, {%:: RCS/%,v}): Don't
  4436.     run co if the target exists.
  4437.  
  4438.     * glob.c (glob_match): [!xyz], rather than [^xyz], means none of [xyz].
  4439.  
  4440.     * glob.c: Misc minor cosmetic changes.
  4441.  
  4442. Tue Sep  5 14:49:56 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)
  4443.  
  4444.     * load.c [LDAV_BASED] (load_average): Check for == -1, rather than < 0
  4445.     to see if lseek fails.  On some systems, `avenrun' is at an offset >
  4446.     (2**31)-1, and lseek succeeds, returning a negative value.
  4447.  
  4448. Mon Sep  4 11:07:58 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)
  4449.  
  4450.     * rule.c (new_pattern_rule): Return `int' instead of `void': nonzero if
  4451.     the passed rule was used, zero if not.
  4452.     (install_pattern_rule): Pay attention to the return from
  4453.     new_pattern_rule, and don't set the rule's `terminal' flag or give it
  4454.     commands unless it's used.
  4455.     (create_pattern_rule): Same idea.
  4456.  
  4457.     * dir.c (find_directory): Removed unused variable.
  4458.  
  4459.     * commands.c (execute_file_commands): Removed unused variable.
  4460.  
  4461.     * read.c (record_files): Don't use NAME after freeing it.
  4462.  
  4463. Sat Sep  2 00:33:19 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)
  4464.  
  4465.     * Version 3.55.1 (alpha).
  4466.  
  4467.     * function.c (string_glob): Don't add spaces after file names that
  4468.     aren't added.  (Also means don't add spaces without checking the size
  4469.     of the buffer.)
  4470.  
  4471.     * remake.c (update_goal_chain): Don't remove makefiles with cmds and no
  4472.     deps from the chain.
  4473.     * main.c (main): Do it here, before calling update_goal_chain.
  4474.  
  4475.     * remake.c (update_goal_chain): When updating fails, change STATUS even
  4476.     if MAKEFILES is set.  Also stop remaking when updating fails if not
  4477.     under -k and MAKEFILES is not set.
  4478.  
  4479.     * remake.c (remake_file, update_file_1, notice_finished_file),
  4480.     commands.c (execute_file_commands), make.h, commands.h: The functions
  4481.     remake_file, notice_finished_file, and execute_file_commands no longer
  4482.     return values, and their callers no longer expect values returned.
  4483.  
  4484.     * remake.c (notice_finished_file): Don't set FILE's modtime to now if
  4485.     it is a non-target with no commands.
  4486.  
  4487. Fri Sep  1 00:04:39 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)
  4488.  
  4489.     * read.c (read_all_makefiles): After freeing each element on MAKEFILES,
  4490.     replace it with the name stored in read_makefiles by read_makefile.
  4491.  
  4492.     * remake.c (update_file_1): Don't decide not to remake if FILE has no
  4493.     cmds and no deps actually changed if FILE doesn't have any deps.
  4494.  
  4495.     * file.c (remove_intermediate): Remove precious files that also have
  4496.     the `dontcare' flag set.
  4497.  
  4498.     * remake.c (update_file_1): Don't always remake if FILE has cmds but no
  4499.     deps; only if FILE is double-colon.  (I don't know why this should be
  4500.     done for double-colon targets, but that's what Unix make does.)
  4501.  
  4502.     * load.c [LDAV_BASED] (load_average): Write error messages if the
  4503.     various system calls fail.  Keep track of if we've failed before.
  4504.     The first time we fail, write a message saying -l won't be enforced.
  4505.     The first time we succeed after having failed, write a message saying
  4506.     -l will be enforced again.
  4507.  
  4508.     * remake.c [USG]: Don't #include <sys/file.h>
  4509.  
  4510.     * load.c [generic Unix LDAV_BASED]: #include <fcntl.h> #ifdef USG,
  4511.     else <sys/file.h> instead.
  4512.  
  4513.     * job.c [USG && !USGr3 && !HAVE_DUP2]: Remove redundant
  4514.     #include <errno.h> and declaration of `errno'.
  4515.     [...] (dup2): Fixed so it won't always lose.
  4516.  
  4517.     * default.c (default_suffix_rules: .texinfo.dvi): Copy, rather than
  4518.     move, the aux and index files, so the TeX run can use them.
  4519.  
  4520.     * compatMakefile: Remove redundant comment.
  4521.  
  4522.     * load.c [generic Unix LDAV_BASED]: Include <a.out.h> instead of
  4523.     <nlist.h>, since the `struct nlist' declaration in <nlist.h> varies
  4524.     more than the one in <a.out.h>.
  4525.     (load_average): Use the `n_un.n_name' field of the `struct nlist',
  4526.     since the <a.out.h> declaration uses the union.
  4527.  
  4528.     * main.c (main): For the temporary files made for stdin makefiles, set
  4529.     the `intermediate' and `dontcare' flags.
  4530.     * file.c (remove_intermediates): Don't print any messages for files
  4531.     whose `dontcare' flag is set.  (The only files that will be
  4532.     intermediate and `dontcare' will be the temporary files made for stdin
  4533.     makefiles.)
  4534.  
  4535.     * job.c (exec_command): Made global.
  4536.     * job.h: Declare it.
  4537.     * main.c (main): Use exec_command when re-execing.
  4538.  
  4539.     * make.h: Declare environ.
  4540.     * make.c: Don't.
  4541.  
  4542.     * job.c (child_execute_job): New function to perform everything done in
  4543.     the child side of a fork (for a job or `shell' function).
  4544.     (start_job): Call it.
  4545.     * job.h: Declare construct_command_argv and child_execute_job.
  4546.     * function.c (expand_function: `shell'): Use child_execute_job.
  4547.  
  4548. Thu Aug 31 18:42:51 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)
  4549.  
  4550.     * function.c (expand_function: `shell'): Remove a trailing newline
  4551.     instead of turning it into a space.
  4552.  
  4553.     * main.c (main): Do init_siglist #ifdef HAVE_SIGLIST.
  4554.  
  4555.     * job.c [WTERMSIG || (USG && !HAVE_SYS_WAIT)]: Test each W* macro
  4556.     separately and define all those that aren't defined.
  4557.  
  4558. Sat Aug 26 15:13:21 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4559.  
  4560.     * ar.c (ar_name): Return zero for `(foo)'.
  4561.  
  4562.     * Version 3.55.
  4563.  
  4564.     * make.texinfo (Rules: Multiple Targets): Make this node's `next'
  4565.     pointer point to `Static Pattern'.
  4566.     * make.texinfo (Makefiles: MAKEFILES Variable): Make this node's `prev'
  4567.     pointer point to `Makefile Names'.
  4568.  
  4569.     * make.1: Renamed to make.man.
  4570.     * compatMakefile: Define `mandir' and `manext'.
  4571.     (install): Depend on $(mandir)/make.$(manext).
  4572.     ($(mandir)/make.$(manext)): Depend on make.man and copy it to $@.
  4573.     ($(bindir)/make): Use `make' rather than $<; so Unix make can grok it.
  4574.  
  4575. Thu Aug 24 03:35:48 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4576.  
  4577.     * variable.c (target_environment): Allow variables that start with
  4578.     underscores.
  4579.  
  4580. Wed Aug 23 22:50:32 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4581.  
  4582.     * variable.c (target_environment): Reject variables that don't start
  4583.     with letters.
  4584.  
  4585. Tue Aug 22 04:14:29 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4586.  
  4587.     * GNUmakefile (make-$(version).tar.Z): Put make.1 (the Unix manual
  4588.     page) in the tar file.
  4589.  
  4590.     * variable.c (target_environment): Don't write variables with origin
  4591.     o_default (i.e., ones from default.c).
  4592.     * make.texinfo (Commands: Recursion: Variables/Recursion): Document
  4593.     that default variables are not put in the environment.
  4594.  
  4595.     * remake.c (update_file_1): Remake all targets with commands but no
  4596.     deps.
  4597.  
  4598. Sat Aug 19 06:03:16 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4599.  
  4600.     * remake.c (update_file_1): In the final loop, set the deps'
  4601.     `changed' members if they are newer than FILE.
  4602.  
  4603.     * remake.c (update_goal_chain): Under -d, print a message if we decide
  4604.     not to remake a makefile so as to avoid a possible infinite loop.
  4605.  
  4606. Fri Aug 18 20:30:14 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4607.  
  4608.     * remake.c (remake_file): Cleaned up.
  4609.  
  4610.     * commands.c (execute_file_commands): If the commands are empty, set
  4611.     FILE->update_status to zero before returning.
  4612.  
  4613.     * remake.c (notice_finished_file): Set `last_mtime' fields to zero
  4614.     instead of calling name_mtime; file_mtime will do that later if anybody
  4615.     cares.
  4616.  
  4617. Thu Aug 17 10:01:11 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4618.  
  4619.     * make.texinfo (Rules: Wildcards: Wildcard Examples): Give this node a
  4620.     `prev' pointer.
  4621.  
  4622.     * Version 3.54.9 (alpha).
  4623.  
  4624.     * make.texinfo: Fixed some @nodes.
  4625.  
  4626.     * remake.c (check_dep): Don't set *MUST_MAKE_PTR if FILE doesn't exist
  4627.     after running update_file.
  4628.  
  4629.     * remake.c (notice_finished_file): If FILE has no commands, pretend its
  4630.     modtime is now.
  4631.  
  4632.     * remake.c (update_file_1): In the loops that call update_file on the
  4633.     deps, compare modtimes before and after (unless deps are still being
  4634.     made) and set the deps' `changed' members.  Do not set the `changed'
  4635.     members in the loop that prints the newer/older debugging messages.
  4636.     * remake.c (update_file_1): If no deps changed and FILE has no
  4637.     commands, decide it doesn't need remaking.
  4638.  
  4639.     * remake.c (update_file_1): Print a debugging message if we take
  4640.     commands from default_file.
  4641.  
  4642.     * make.texinfo (Rules: Directory Search: Selective Search): Removed
  4643.     note about warning for `vpath' with a constant pathname, since it isn't
  4644.     warned about anymore.
  4645.  
  4646.     * remake.c (update_goal_chain): If MAKEFILES, remove makefiles which
  4647.     are targets and have no deps.
  4648.     * make.texinfo (Makefiles: Remaking Makefiles): Document that makefiles
  4649.     will not be remade if they are targets but have no dependencies.
  4650.  
  4651. Tue Aug 15 00:00:08 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
  4652.  
  4653.     * remake.c (notice_finished_file): Increment files_remade for non-phony
  4654.     files if they didn't exist before (even if they still don't).
  4655.  
  4656.     * job.c: Include <errno.h> and declare errno.
  4657.  
  4658.     * job.c (exec_command): If the execve fails with ENOEXEC (Exec format
  4659.     error), return instead of exiting the child process.
  4660.  
  4661.     * job.c (start_job): In the child side, if exec_command fails, try
  4662.     using the shell.
  4663.  
  4664.     * job.c (start_job): In the child side, call unblock_children instead
  4665.     of sigsetmask.
  4666.  
  4667.     * remake.c (notice_finished_file): Under -n or -q, always increment
  4668.     files_remade for non-phony files.
  4669.  
  4670.     * rule.c (intall_pattern_rule): Use find_percent.
  4671.  
  4672.     * vpath.c (vpath_search): Pass the `percent' members to
  4673.     pattern_matches.
  4674.  
  4675. Mon Aug 14 23:30:24 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
  4676.  
  4677.     * vpath.c (struct vpath): New member `percent', to hold a pointer into
  4678.     the pattern where the % is.
  4679.     (construct_vpath_list): Call find_percent on the pattern and set the
  4680.     new `percent' member.
  4681.     * read.c (read_makefile): Don't run find_percent on `vpath' directive
  4682.     patterns.
  4683.  
  4684.     * function.c (pattern_matches): Take new arg PERCENT, a pointer into
  4685.     PATTERN where the % is.  If PERCENT is nil, copy PATTERN into local
  4686.     space and run find_percent on it.
  4687.     (expand_function: `filter', `filter-out'): Pass new arg to
  4688.     pattern_matches.
  4689.     * read.c (record_files): Pass PATTERN_PERCENT to pattern_matches for
  4690.     static pattern rules.  Save the percent pointer into implicit rule
  4691.     targets, and pass them to create_pattern_rule.
  4692.     * rule.c (convert_to_pattern): Pass new arg to create_pattern_rule.
  4693.     (create_pattern_rule): Take new arg TARGET_PERCENTS, nil or an array of
  4694.     pointers into the corresponding elements of TARGETS, where the %s are.
  4695.  
  4696. Sun Aug 13 00:29:19 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4697.  
  4698.     * Version 3.54.8.
  4699.  
  4700.     * README.templatate, README-doc.template: New files, turned into README
  4701.     and README-doc to go into the two distribution tar files.
  4702.     * GNUmakefile: Added a rule to edit the version number in
  4703.     README.template and README-doc.template, producing README and
  4704.     README-doc.
  4705.  
  4706.     * remake.c (update_goal_chain): If -n or -q is in effect for a
  4707.     makefile, and it got updated, don't change STATUS, so we can still
  4708.     return -1 (meaning nothing was done).  This avoids an infinite loop on
  4709.     "make -n Makefile".
  4710.  
  4711. Sat Aug 12 23:14:24 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4712.  
  4713.     * remake.c (notice_finished_file): Treat -q the same as -n.
  4714.  
  4715.     * remake.c (update_goal_chain): Fixed handling of return from
  4716.     update_file.  If -n or -q is in effect, ignore it.
  4717.  
  4718.     * job.c (start_job): Don't test for -t.  We should never get called in
  4719.     that case.
  4720.  
  4721. Fri Aug 11 04:09:14 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4722.  
  4723.     * function.c (expand_function): Removed unused variables.
  4724.     (handle_function): Removed unused variable.
  4725.  
  4726.     * main.c (main): Removed unused variable.
  4727.  
  4728. Wed Aug  9 09:37:10 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4729.  
  4730.     * Version 3.54.7.
  4731.  
  4732.     * remake.c (notice_finished_file): If FILE's modtime actually changed,
  4733.     increment files_remade.
  4734.     (remake_file): Don't increment files_remade.
  4735.  
  4736.     * remake.c (update_file): Don't print "up to date" messages for
  4737.     phony files.
  4738.  
  4739.     * job.c (child_handler): Don't set C->file->update_status to 1 if
  4740.     start_job returns nonzero under -n or -t.
  4741.  
  4742.     * expand.c (variable_expand): Count parens in $(foo:a=b) refs.
  4743.  
  4744.     * main.c: Removed old declaration of `glob_tilde' (which hasn't existed
  4745.     for a few months).
  4746.  
  4747. Tue Aug  8 23:53:43 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4748.  
  4749.     * job.c (exec_command): Fixed to not ignore the last path component and
  4750.     to do the right thing with an empty path.
  4751.  
  4752. Fri Aug  4 15:58:19 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4753.  
  4754.     * remake.c (library_file_mtime): Look for libLIB.a, not /libLIB.a.
  4755.     Do VPATH search on libLIB.a, not /usr/lib/libLIB.a
  4756.  
  4757. Thu Aug  3 20:42:00 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4758.  
  4759.     * job.c [HAVE_SYS_WAIT or not USG]: If WIFSIGNALED is not defined by
  4760.     <sys/wait.h>, define it as (WTERMSIG != 0).
  4761.  
  4762. Tue Aug  1 19:25:34 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4763.  
  4764.     * remake.c (remake_file): If FILE has no commands and is a target,
  4765.     don't set its time to now.  The time gets reset by notice_finished_file
  4766.     anyway, and it isn't needed since check_dep checks for nonexistence.
  4767.  
  4768.     * Version 3.54.6.
  4769.  
  4770.     * read.c (read_makefile): Don't read off the end of the string after an
  4771.     `include'.
  4772.  
  4773.     * job.c (exec_command): New function to search the path for a file and
  4774.     execute it.
  4775.     (start_job): Use exec_command rather than execvp.
  4776.  
  4777.     * read.c (read_makefile): Expand `include' directive args before
  4778.     parsing them.  Allow trailing whitespace after filename.
  4779.  
  4780.     * variable.c (target_environment): Put makelevel + 1, rather than
  4781.     makelevel, in the `MAKELEVEL' envariable.
  4782.  
  4783. Sat Jul 29 10:27:04 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4784.  
  4785.     * remake.c (notice_finished_file): Don't get the new modtime of phony
  4786.     files.
  4787.  
  4788.     * remake.c (remake_file): Run commands instead of touching under -t if
  4789.     FILE->cmds->any_recurse is set.
  4790.  
  4791.     * commands.h (struct commands): Add new member `any_recurse', to be set
  4792.     nonzero if any `lines_recurse' element is nonzero.
  4793.     * commands.c (chop_commands): Set the `any_recurse' member.
  4794.  
  4795.     * commands.c (execute_file_commands): Split chopping of commands into
  4796.     lines into new function chop_commands.
  4797.     * commands.h: Declare chop_commands.
  4798.  
  4799.     * read.c (read_makefile): Test for a line beginning with a tab after
  4800.     checking for conditional lines, but before all other checks.
  4801.  
  4802. Fri Jul 28 18:10:29 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4803.  
  4804.     * read.c (read_makefile): Match directives against collapsed line
  4805.     and use that for their args.
  4806.  
  4807.     * read.c (read_makefile): Warn about extra text after `include'.
  4808.  
  4809. Tue Jul 25 14:34:25 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4810.  
  4811.     * make.texinfo (Rules: Directory Search: Selective Search): Fixed
  4812.     example to use correct `vpath' syntax.
  4813.  
  4814. Mon Jul 24 12:10:58 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4815.  
  4816.     * Version 3.54.5.
  4817.  
  4818.     * job.c (start_job): In the child side, unblock SIGCHLD.
  4819.  
  4820. Fri Jul 21 18:25:59 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4821.  
  4822.     * make.h: Don't include <sys/types.h> #ifdef sun.
  4823.  
  4824. Mon Jul 17 14:29:10 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4825.  
  4826.     * implicit.c (pattern_search): If ar_name (FILENAME), don't check for
  4827.     directory names.
  4828.  
  4829.     * job.c (wait_for_children): Changed "waiting for children" message to
  4830.     "waiting for unfinished jobs".
  4831.  
  4832. Fri Jul 14 13:17:13 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4833.  
  4834.     * load.c (load_average): Use an unsigned offset into kmem.
  4835.  
  4836. Thu Jul 13 18:44:49 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4837.  
  4838.     * variable.c (pop_variable_scope): Don't free the head of the chain of
  4839.     variables in each bucket twice.
  4840.  
  4841. Tue Jul 11 06:45:24 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4842.  
  4843.     * GNUmakefile: Include COPYING in the doc tar file.
  4844.  
  4845.     * variable.c, read.c, misc.c, job.c, function.c: Replace some identical
  4846.     "for" loops with next_token or end_of_token calls.
  4847.  
  4848. Mon Jul 10 16:55:08 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4849.  
  4850.     * Version 3.54.4.
  4851.  
  4852.     * compatMakefile: Documented new conditionals.
  4853.  
  4854.     * job.c: Don't define sys_siglist if HAVE_SIGLIST is defined.
  4855.     Don't define dup2 if HAVE_DUP2 is defined.
  4856.  
  4857.     * job.c (child_handler): Interpret the return from start_job correctly.
  4858.  
  4859.     * remake.c (update_file_1): Don't write "target not remade because of
  4860.     errors" message under -n or -q.
  4861.  
  4862.     * read.c: Declare getpwnam.
  4863.  
  4864.     * glob.c: Use <dirent.h> if DIRENT is defined.
  4865.     [USG]: Don't declare memcpy, since <memory.h> does.
  4866.  
  4867. Fri Jul  7 20:53:13 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4868.  
  4869.     * misc.c (collapse_line): Copy the line over in the right place.
  4870.  
  4871. Fri Jul  7 18:33:24 1989  Roland McGrath    (fsf at void.ai.mit.edu)
  4872.  
  4873.     * remake.c: Conditionalize inclusion of <sys/file.h> on not
  4874.     USG, since HP-UX defines a `struct file' there.
  4875.  
  4876. Fri Jul  7 12:11:30 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4877.  
  4878.     * job.c: If WTERMSIG is defined by <sys/wait.h>, define WAIT_T as int,
  4879.     and don't define other macros; this covers HP-UX.
  4880.     If WTERMSIG is not defined, use int or union wait based on USG and
  4881.     HAVE_SYS_WAIT; this covers BSD and SysV.
  4882.  
  4883.     * Version 3.54.3 (alpha).
  4884.  
  4885.     * job.c [USG and not USGr3]: Include <errno.h> and declare errno.
  4886.  
  4887.     * job.c (unblock_children [USG]): Declare child_handler.
  4888.  
  4889.     * job.c: Renamed WRETCODE to WEXITSTATUS.
  4890.     [HAVE_SYS_WAIT or not USG]: Undefine WTERMSIG, WCOREDUMP, and
  4891.     WEXITSTATUS before defining them.  The HP-UX <sys/wait.h> defines them.
  4892.  
  4893.     * main.c (main): If there are no goals, fatal AFTER printing the data
  4894.     base under -p.
  4895.  
  4896. Thu Jul  6 22:43:33 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
  4897.  
  4898.     * glob.c [USG]: #define rindex as strrchr.
  4899.  
  4900.     * job.c [USG]: Include <sys/param.h> and #define getdtablesize() as
  4901.     NOFILE.
  4902.  
  4903. Wed Jul  5 09:36:00 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4904.  
  4905.     * Version 3.54.2 (alpha).
  4906.  
  4907.     * expand.c (variable_expand): When expanding recursive variable
  4908.     references (${${a}}), use the correct delimiters in the constructed
  4909.     variable reference.
  4910.  
  4911. Mon Jul  3 18:29:26 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
  4912.  
  4913.     * compatMakefile: Clear out and redefine the .SUFFIXES list because
  4914.     silly Sun 4 make defines .cps.h.
  4915.  
  4916.     * compatMakefile: Fix comment about -DNO_MINUS_C_MINUS_O.
  4917.  
  4918.     * remake.c: Include <sys/file.h> for O_* on 4.2.
  4919.  
  4920.     * commands.c: Define sigmask if it's not defined.
  4921.  
  4922. Fri Jun 30 07:33:08 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
  4923.  
  4924.     * remake.c (remake_file): Don't always increment files_remade.
  4925.  
  4926.     * variable.c (push_new_variable_scope): Zero the new variable hash
  4927.     table.
  4928.  
  4929. Thu Jun 29 17:14:32 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4930.  
  4931.     * expand.c (variable_expand): When terminating the variable expansion
  4932.     buffer, use variable_buffer_output instead of a simply zero store,
  4933.     because the buffer may need to be enlarged.
  4934.  
  4935. Wed Jun 28 16:53:47 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4936.  
  4937.     * Version 3.54.
  4938.  
  4939.     * default.c (default_suffixes): Added `.ln'.
  4940.     (default_suffix_rules): Changed lint rules to use -C.
  4941.  
  4942. Thu Jun 22 20:49:35 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4943.  
  4944.     * job.c (start_job): Set `environ' to CHILD->environment before execing
  4945.     in the child process!
  4946.  
  4947. Tue Jun 20 17:23:13 1989  Roland McGrath  (roland at spiff.ai.mit.edu)
  4948.  
  4949.     * compatMakefile: Put job.h and rule.h in `srcs'.
  4950.  
  4951.     * Version 3.53.
  4952.  
  4953. Mon Jun 19 16:25:18 1989  Roland McGrath  (roland at spiff.ai.mit.edu)
  4954.  
  4955.     * job.c (start_job): If there are no more commands, return nonzero
  4956.     under -n or -t.
  4957.  
  4958.     * compatMakefile (make): Pass `-f' to mv.
  4959.  
  4960.     * GNUmakefile: If `ARCH' or `machine' is defined, make $(ARCH)/*.o and
  4961.     $(ARCH)/make instead of *.o and make.
  4962.  
  4963.     * function.c (string_glob): Don't try to use freed storage!
  4964.  
  4965.     * read.c (readline): If there is only one byte of space in the buffer,
  4966.     enlarge the buffer before reading more.
  4967.  
  4968.     * arscan.c [M_XENIX]: Miscellaneous minor changes for Xenix.
  4969.  
  4970. Sun Jun 18 13:07:45 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4971.  
  4972.     * GNUmakefile (depend): Split commands into two lines so they won't be
  4973.     so long when variable-expanded.
  4974.  
  4975.     * compatMakefile: Documented MINUS_C_MINUS_O meaning.  The line
  4976.     describing it got removed when the USG/wait stuff was documented.
  4977.  
  4978. Sat Jun 17 22:56:54 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
  4979.  
  4980.     * Version 3.52.
  4981.  
  4982. Mon Jun 12 17:45:11 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  4983.  
  4984.     * remake.c (check_dep): Drop circular dependencies instead of fataling.
  4985.     (update_file_1 already does this.)
  4986.  
  4987.     * default.c (default_suffix_rules): For .s -> .o, put the -o flag to
  4988.     the assembler before the source file name.
  4989.  
  4990. Sun Jun 11 12:00:52 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  4991.  
  4992.     * Version 3.51.
  4993.  
  4994.     * make.texinfo (Features): Noted 1003.2 requirement of `+' meaning.
  4995.  
  4996.     * file.c (remove_intermediates): If !SIG, write a single "rm" command
  4997.     line, listing all files.
  4998.  
  4999.     * read.c (read_makefile): Don't free the storage for the passed
  5000.     filename, since it might not be malloc'd.  When doing an included
  5001.     makefile, free the name's storage.
  5002.     (read_all_makefiles): Use variable_expand to find the value of
  5003.     `MAKEFILES'.  Free the storage for the names of -f makefiles.
  5004.     (read_makefile): Allocate storage for the makefile name in the
  5005.     `struct file' in read_makefiles.
  5006.  
  5007.     * make.texinfo (Running: Instead of Execution): Document the effect of
  5008.     + and $(MAKE)/${MAKE}.
  5009.  
  5010.     * make.texinfo (Functions: Foreach Function): Document that if the
  5011.     iteration variable was undefined before the `foreach' call, it will be
  5012.     undefined after the call.
  5013.  
  5014.     * commands.c: Split into commands.c, job.h, and job.c.
  5015.  
  5016.     * rule.c (try_implicit_rule, pattern_search): Moved to new file
  5017.     implicit.c.
  5018.  
  5019.     * rule.c: Split into rule.h, rule.c, and default.c.
  5020.     * default.c (install_default_pattern_rules): Renamed to
  5021.     install_default_implicit_rules.
  5022.     * make.h, main.c (main): Renamed uses.
  5023.  
  5024.     * make.c: Renamed to misc.c.
  5025.  
  5026.     * make.c (main, log_working_directory, decode_switches,
  5027.     decode_env_switches, define_makeflags, die, print_version,
  5028.     print_data_base): Moved to new file main.c.
  5029.  
  5030.     * commands.c (execute_file_commands): Don't collapse backslash-newlines
  5031.     here.  When chopping the commands up into lines, don't chop at
  5032.     backslash-newlines.
  5033.     (start_job): Collapse backslash-newlines after printing the line.
  5034.  
  5035.     * commands.c (start_job): Don't collapse backslash-newlines here.
  5036.     (execute_file_commands): Collapse backslash-newlines before chopping
  5037.     the commands up into lines.
  5038.  
  5039.     * commands.c (set_file_variables): Initialize the length counters for
  5040.     $^ and $? to zero!
  5041.  
  5042.     * commands.c (start_job): Use vfork instead of fork.  Someone else says
  5043.     the child and parent DO have separate file descriptors.
  5044.  
  5045.     * variable.c: Split internals into variable.c, function expansion into
  5046.     function.c, and variable expansion into expand.c.
  5047.     * function.c (handle_function): New function to check for a function
  5048.     invocation and expand it.
  5049.     * expand.c (variable_expand): Use handle_function.
  5050.     * variable.c (push_new_variable_scope): New function to push a new
  5051.     empty variable set onto the current setlist.
  5052.     (pop_variable_scope): New function to pop the topmost set from the
  5053.     current setlist and free its storage.
  5054.     * function.c (expand_function: `foreach'): Push a new variable scope
  5055.     for the iteration variable and pop the scope when finished.
  5056.     * variable.h: Declare new functions.
  5057.     * variable.c (initialize_variable_output): New function to return a
  5058.     pointer to the beginning of the output buffer.
  5059.     (save_variable_output): New function to save the variable output state.
  5060.     (restore_variable_output): New function to restore it.
  5061.     * expand.c (variable_expand): Use initialize_variable_output.
  5062.     (allocated_variable_expand): Use {save,restore}_variable_output.
  5063.     * variable.c (current_setlist): Renamed to current_variable_set_list
  5064.     and made global.
  5065.  
  5066. Sat Jun 10 00:11:25 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5067.  
  5068.     * remake.c (library_file_mtime): Check for libNAME.a in the current
  5069.     directory before doing VPATH search.
  5070.  
  5071.     * variable.c (print_variable_set): Don't write "# Variables", and write
  5072.     fewer blank lines.
  5073.     (print_variable_data_base): Precede the variables with "# Variables".
  5074.  
  5075.     * make.c (main): Print the data base under -p after doing everything
  5076.     else, just before exitting.  This way it gets info determined in
  5077.     updating the goal targets.
  5078.  
  5079.     * variable.c (print_variable_data_base): Split into print_variable,
  5080.     which prints one variable, and print_variable_set, which prints a set.
  5081.     Replaced with a call to print_variable_set for the global set.
  5082.     (print_file_variables): New function to print a given file's local
  5083.     variables.
  5084.  
  5085.     * file.c (print_file_data_base): Call print_file_variables to print
  5086.     each file's local variables.
  5087.  
  5088.     * commands.c (set_file_variables): Actually define the values for
  5089.     the $^ and $? variables!!!
  5090.  
  5091.     * make.texinfo (Implicit: Pattern Rules: Automatic): Document new D and
  5092.     F versions of $^ and $?.
  5093.  
  5094.     * commands.c (start_job): In the child fork, use getdtablesize and a
  5095.     loop to close all file descriptors other than 0, 1, and 2.  We need to
  5096.     do this since not only the bad stdin pipe, but also some directories,
  5097.     may be open.
  5098.  
  5099.     * commands.c (start_job): Use fork instead of vfork, because a vfork
  5100.     parent and child share file descriptors, and our child needs to diddle
  5101.     with stdin.
  5102.  
  5103.     * variable.c (initialize_file_variables): When created a new variable
  5104.     set, zero out the hash table.
  5105.  
  5106.     * variable.c (target_environment): Don't use variables whose names are
  5107.     not made up of alphanumerics and underscores.
  5108.  
  5109.     * remake.c (update_file_1): Set the `parent' member of each dependency
  5110.     to FILE before updating it.
  5111.  
  5112.     * file.h (struct file): Add `parent' member.
  5113.  
  5114.     * variable.c (initialize_file_variables): Don't take second arg PARENT.
  5115.     Use FILE->parent instead.  If FILE->parent->variables is nil, recurse
  5116.     to initialize it.
  5117.  
  5118.     * variable.h: Declare {allocated_}variable_expand_for_file.
  5119.  
  5120.     * variable.c (allocated_variable_expand): Now
  5121.     allocated_variable_expand_for_file, calling variable_expand_for_file,
  5122.     and taking second arg FILE.
  5123.     (allocated_variable_expand): New function, a wrapper around
  5124.     allocated_variable_expand_for_file, passing a nil second arg.
  5125.  
  5126. Fri Jun  9 12:11:45 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5127.  
  5128.     * commands.c (start_job): On the child side of the fork, always close
  5129.     the bad stdin file descriptor.
  5130.  
  5131.     * commands.c (struct child): New member `environment', to hold the
  5132.     environment for the child.
  5133.     (execute_file_commands): Set the new childs `environment' member to nil
  5134.     before calling start_job.
  5135.     (start_job): Set up CHILD->environment before running the commands if
  5136.     it is nil.
  5137.  
  5138.     * make.c (main): Don't call new_environ.  `shell' functions will now be
  5139.     run with the environment make was called with.
  5140.  
  5141.     * commands.c (child_handler): Don't check C->command_ptr before calling
  5142.     start_job since we now have to check C->file->cmds->command_lines and
  5143.     it's easier to let start_job handle all that.
  5144.  
  5145.     * commands.c (struct child): New member `command_line', to hold an
  5146.     index into file->cmds->command_lines.
  5147.     (execute_file_commands): Set the new child's `command_line' to 0 and
  5148.     its `commands' and `commands_ptr' to nil.
  5149.     (start_job): When CHILD->command_ptr runs out, increment
  5150.     CHILD->command_line and run the corresponding line from
  5151.     CHILD->file->cmds->command_lines.  Run it even under -t, -q, or -n if
  5152.     the CHILD->file->cmds->lines_recurse element for that line is set.
  5153.  
  5154.     * commands.c (execute_file_commands): Chop CMDS up into lines, setting
  5155.     its `command_lines' and `lines_recurse' members, if it wasn't already
  5156.     chopped.
  5157.  
  5158.     * commands.h (struct commands): New members `command_lines' and
  5159.     `lines_recurse'.  The first is an array of chopped-up lines; the second
  5160.     is an array of flags, each nonzero if the corresponding line is
  5161.     recursive.
  5162.  
  5163.     * variable.c (variable_expand_for_file): If FILE is nil, just do a
  5164.     vanilla variable_expand.
  5165.     (expand_function: `shell'): Pass second arg (as nil) to
  5166.     construct_command_argv.
  5167.  
  5168.     * commands.c (construct_command_argv): Use variable_expand_for_file on
  5169.     `$(SHELL)' and `$(IFS)' instead of lookup_variable to check those
  5170.     variables.  This handles file-local and recursive values correctly.
  5171.     To support this, take an additional argument FILE.
  5172.  
  5173.     * variable.c (initialize_file_variables): New function to initialize
  5174.     FILE's variable set list from PARENT's setlist.  PARENT is the
  5175.     immediate dependent that caused FILE to be remade, or nil if FILE is a
  5176.     goal.  (When user-level per-file variables are implemented, PARENT
  5177.     should be passed as nil when defining per-file variables.)
  5178.  
  5179.     * variable.c (variable_expand_for_file): New function to expand a line
  5180.     using the variable set of a given file, and reporting error messages
  5181.     for the file and line number of that file's commands.
  5182.  
  5183.     * variable.h: Don't declare lookup_variable_for_file.
  5184.  
  5185.     * variable.c (lookup_variable_*): Turned back into lookup_variable.  It
  5186.     now uses current_setlist.
  5187.     (global_setlist): New static `struct variable_set_list', a setlist
  5188.     containing global_variable_set.
  5189.     (current_setlist): New static `struct variable_set_list *', a pointer
  5190.     to the current variable set list.
  5191.     (define_variable): Define in the current top-level set, not the global
  5192.     set.
  5193.  
  5194.     * commands.c (set_file_variables): New function to set up the automatic
  5195.     variables for a file in its own variable set.
  5196.     (execute_file_commands): Use set_file_variables.
  5197.  
  5198.     * variable.c (new_environ): Replaced with target_environment, taking an
  5199.     argument FILE, and returning an environment for FILE's commands.
  5200.  
  5201.     * variable.c, variable.h: Remove all global special variable pointers.
  5202.  
  5203.     * variable.c (define_variable_for_file): New function like
  5204.     define_variable, but takes additional arg FILE, and defines the
  5205.     variable in the variable set at the top of FILE's chain.
  5206.     (lookup_variable_for_file): New function like lookup_variable, but
  5207.     takes additional arg FILE, and looks the variable up in all of FILE's
  5208.     variable sets.
  5209.  
  5210.     * file.h (struct file): New member `variables', a `struct
  5211.     variable_set_list' containing the list of variable sets used in the
  5212.     expansion of the file's commands.
  5213.  
  5214.     * variable.c (variables): Replaced with static `struct variable_set'
  5215.     global_variable_set.
  5216.     (define_variable): Now define_variable_in_set, taking additional
  5217.     argument SET, the `struct variable_set' to define it in.
  5218.     (define_variable): Use define_variable_in_set with global_variable_set.
  5219.     (lookup_variable): Now lookup_variable_in_set, taking additional
  5220.     argument SET, the `struct variable_set' to look it up in.
  5221.     (lookup_variable): Use lookup_variable_in_set with global_variable_set.
  5222.     (lookup_variable_in_setlist): New function to look up a variable in a
  5223.     `struct variable_set_list' using lookup_variable_in_set.
  5224.  
  5225.     * variable.h (struct variable_set): New structure, containing a hash
  5226.     table and the number of hash buckets.
  5227.     (struct variable_set_list): New structure, containing a link for a
  5228.     linked-list, and a `struct variable_set'.
  5229.  
  5230.     * commands.c (start_job): Under -n, return what the recursive start_job
  5231.     call returns, since it might actually start a child.
  5232.  
  5233.     * make.texinfo (Rules: Wildcards): Document ~ and ~USER expansion.
  5234.  
  5235.     * commands.c (execute_file_commands): If start_job returns
  5236.     failure, but -t is set, set FILE->update_status to success.
  5237.     (start_job): If -t is set, and the commands are not recursive, return
  5238.     failure (is is done for -q).
  5239.  
  5240.     * remake.c (touch_file): New function to touch FILE.
  5241.     (remake_file): Use touch_file.  When touching a file, still do
  5242.     execute_file_commands.
  5243.  
  5244.     * remake.c (remake_file): Don't check question_flag (-q), since we
  5245.     can't know here if the commands are recursive.
  5246.  
  5247.     * commands.c (start_job): Don't use the `recursive' member of
  5248.     CHILD->file->cmds.  Instead, check for leading +s and $(MAKE) or
  5249.     ${MAKE} in the command line here.
  5250.  
  5251.     * commands.h (struct commands): Remove `recursive' member.
  5252.  
  5253.     * rule.c (install_default_pattern_rules): Remove use of `recursive'
  5254.     member.
  5255.  
  5256.     * read.c (record_files): Don't check commands from $(MAKE) and set
  5257.     their `recursive' member.
  5258.  
  5259.     * commands.c (fatal_error_signal): Treat SIGQUIT like SIGINT, SIGHUP,
  5260.     and SIGTERM, but don't send it to ourselves because it will cause a
  5261.     core dump.
  5262.  
  5263. Thu Jun  8 20:30:04 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5264.  
  5265.     * Version 3.50.
  5266.  
  5267.     * variable.c (variable_expand): Use allocated_variable_expand instead
  5268.     of expand_argument in a few places.
  5269.  
  5270.     * variable.c (allocated_variable_expand): Do static variable shuffling
  5271.     here instead of using expand_argument.
  5272.     (expand_argument): Use allocated_variable_expand.
  5273.  
  5274.     * variable.c (recursively_expand): New function to recursively expand
  5275.     its argument (a `struct variable'), returning the malloc'd value.
  5276.     (variable_expand): Use recursively_expand.
  5277.  
  5278. Sun May 28 12:49:27 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  5279.  
  5280.     * make.c (main): Fixed buggy fix in deciding to increase space for
  5281.     command-line variable definitions.  (First it never did it, then it
  5282.     always did it; now it does it when necessary.)
  5283.  
  5284. Sat May 27 14:01:54 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  5285.  
  5286.     * make.c (main): Fixed bug in deciding to increase space for
  5287.     command-line variable definitions.
  5288.  
  5289. Fri May 26 15:48:01 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5290.  
  5291.     * read.c (multi_glob): Use allocated_expand_variable for checking
  5292.     `HOME' variable for ~ expansion, since this may be called from inside a
  5293.     `wildcard' function expansion.
  5294.  
  5295.     * variable.h: Declare allocated_expand_variable.
  5296.  
  5297.     * variable.c (allocated_expand_variable): New function to do variable
  5298.     expansion in an allocated buffer, rather than the static one.
  5299.  
  5300.     * make.c (main): Don't set glob_tilde (it no longer exists).
  5301.  
  5302.     * variable.c (string_glob): Use multi_glob and parse_file_seq.
  5303.  
  5304.     * read.c (multi_glob): Do ~ expansion here.
  5305.  
  5306.     * glob.c (glob_tilde, glob_filename): Removed ~ expansion.
  5307.  
  5308.     * variable.c (define_variable, lookup_variable): Use a smarter hashing
  5309.     algorithm (the same one used for files and directories).
  5310.     (VARIABLE_BUCKETS): Increased to 523.
  5311.  
  5312.     * file.c (enter_file, lookup_file, rename_file): Use a smarter hashing
  5313.     algorithm, spreading the bits about somewhat.
  5314.  
  5315.     * make.c (log_working_directory): Under `-p', precede the directory
  5316.     message with a `#'.
  5317.  
  5318.     * make.c (print_version): Under `-p', precede each line with a `#'.
  5319.     (print_data_base): Precede the header line with a `#' and include the
  5320.     date and time on it.
  5321.  
  5322.     * vpath.c (print_vpath_data_base): Precede non-directive
  5323.     lines with `#'s.
  5324.  
  5325.     * commands.c (print_commands): Precede the non-command line with a `#'.
  5326.  
  5327.     * rule.c (print_rule_data_base), file.c (print_file_data_base): Precede
  5328.     non-rule lines with `#'s.
  5329.  
  5330.     * dir.c (print_dir_data_base): Precede all lines with `#'s.
  5331.  
  5332.     * variable.c (print_variable_data_base): Changed format so that it can
  5333.     be makefile input.  Lines that are not variable definitions are
  5334.     preceded with `#'.  Nonrecursive variable definitions are made with all
  5335.     dollar signs doubled to reproduce the initial value.  Recursive
  5336.     variable definitions containing newlines are done with `define'
  5337.     directives.  Nonrecursive variable definitions containing newlines, and
  5338.     variable names containing :, =, or newlines, will come out garbled.
  5339.  
  5340. Wed May 24 00:20:04 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5341.  
  5342.     * Version 3.49.
  5343.  
  5344. Tue May 23 19:18:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5345.  
  5346.     * variable.c (expand_function: `filter'/`filter-out'): Use
  5347.     find_percent instead of pattern_p.
  5348.  
  5349.     * variable.c (expand_function: `patsubst'): Pass new args (both nil)
  5350.     to patsubst_expand.
  5351.     (variable_expand): For $(var:pat%=rep%) references, pass new args to
  5352.     patsubst_expand so as to avoid find_percent and thus disallow
  5353.     quoting the %s.
  5354.  
  5355.     * read.c (record_files): Pass new args to patsubst_expand.
  5356.  
  5357.     * variable.c (patsubst_expand): Take two new args: PATTERN_PERCENT
  5358.     and REPLACE_PERCENT.  Each of these, if non-nil, means that PATTERN
  5359.     (or REPLACE) has already been run through find_percent, and
  5360.     PATTERN_PERCENT (or REPLACE_PERCENT) is the result.
  5361.  
  5362.     * make.h: Declare find_percent instead of pattern_p.
  5363.  
  5364.     * read.c (pattern_p): Changed to find_percent, returning a pointer
  5365.     to the %, or nil if there is none.
  5366.     (record_files): Take another arg, PATTERN_PERCENT, a pointer to the
  5367.     % in PATTERN.
  5368.     (read_makefile): Pass PATTERN_PERCENT to record_files.
  5369.  
  5370.     * make.texinfo (Rules: Static Pattern: Static Usage,
  5371.     Rules: Directory Search: Selective Search,
  5372.     Functions: Text Functions): Documented that `%' can be quoted.
  5373.  
  5374.     * variable.c (expand_function: `filter'/`filter-out'): Use pattern_p
  5375.     to allow quoted %s in patterns.
  5376.  
  5377.     * variable.c (patsubst_expand): Use pattern_p on PATTERN and REPLACE
  5378.     to allow quoted %s.  Quoting backslashes are removed from REPLACE
  5379.     even if PATTERN contains no unquoted %.
  5380.  
  5381.     * read.c (pattern_p): Made global.
  5382.     * make.h: Declare pattern_p.
  5383.  
  5384.     * read.c (pattern_p): New function to search for an unquoted % in a
  5385.     string.  Backslashes quote %s and backslashes.  Quoting backslashes
  5386.     are removed from the string by compacting it into itself.  Returns
  5387.     nonzero if an unquoted % was found, zero if not.
  5388.     (record_files): Use pattern_p to check for implicit rules.
  5389.     (read_makefile): Use pattern_p to check for static pattern rules.
  5390.     Also use it to allow quoted %s in `vpath' patterns; warn about
  5391.     `vpath' patterns with no %s.
  5392.  
  5393. Mon May 22 16:31:52 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  5394.  
  5395.     * glob.c (glob_filename): Replace a `1' with the `l' that should
  5396.     have been there.  This incidentally stops it from dumping core.
  5397.  
  5398.     * glob.c (glob_filename): If the path is just a directory, with no
  5399.     file name pattern, return the directory alone.
  5400.  
  5401.     * glob.c (glob_tilde): New global variable (int), defaults to zero.
  5402.     (glob_filename): If glob_tilde is nonzero, expand ~ or ~USER.
  5403.  
  5404.     * variable.c (string_glob): Keep a static allocated buffer for file
  5405.     names taken from the list, instead of allocating and freeing one
  5406.     every time.
  5407.  
  5408. Fri May 19 18:06:26 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5409.  
  5410.     * make.c (decode_switches): Get floating numbers from the right string.
  5411.  
  5412. Sun May 14 13:48:04 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  5413.  
  5414.     * commands.c (delete_child_targets): When deleting `also_make'
  5415.     files, include the target's name in the message:
  5416.         make: *** [foo] Deleting file `bar'
  5417.  
  5418. Sat May 13 17:34:26 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  5419.  
  5420.     * make.c (max_load_average, default_load_average): Default to -1.
  5421.  
  5422.     * load.c (wait_to_start_job): Return if max_load_average is < 0.0,
  5423.     not equal.
  5424.  
  5425. Fri May 12 16:08:05 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  5426.  
  5427.     * variable.c (variable_buffer_output): Don't try to do pointer
  5428.     arithmetic between objects not in the same array.
  5429.  
  5430. Wed May 10 15:55:29 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5431.  
  5432.     * rule.c [M_XENIX] (default_suffix_rules, default_variables): Minor
  5433.     changes to allow for strange compiler syntax.
  5434.  
  5435.     * rule.c (default_variables): Don't include "> $@" in
  5436.     $(PREPROCESS.S), since it's already in the .S.s rule.
  5437.  
  5438.     * file.c (enter_file): Make a new double-colon file the `prev'
  5439.     member of the bottom `prev' file (the one whose `prev' is nil).
  5440.  
  5441.     * read.c (do_define): Append newlines after copying the lines into
  5442.     the value buffer, so we end up with a trailing newline.
  5443.  
  5444.     * make.c (print_version): If the global variable
  5445.     `remote_description' is not nil or "", append "-%s" (its value) to
  5446.     the version number.
  5447.     * remote-*.c: Define remote_description appropriately.
  5448.  
  5449. Sun May  7 15:15:53 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5450.  
  5451.     * commands.c (error_status): Converted to new function child_error,
  5452.     taking new arguments TARGET_NAME and IGNORED, and writing an error
  5453.     message: "*** [target] Error 1" (or signal #, etc.), appending
  5454.     " (ignored)" if IGNORED is nonzero.
  5455.     (child_handler): Use child_error instead of error_status.
  5456.  
  5457.     * compatMakefile (all): Don't depend on `doc'.
  5458.  
  5459.     * compatMakefile (clean): Don't remove make-info*.
  5460.     (realclean): New rule, depends on `clean', removes tags, TAGS,
  5461.     and all Info and TeX files.
  5462.  
  5463. Thu May  4 17:00:46 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5464.  
  5465.     * variable.c (print_variable_data_base), file.c
  5466.     (print_file_data_base), rule.c (print_rule_data_base),
  5467.     Use floating-point for averages and percentages.
  5468.  
  5469.     * make.c (print_data_base): Print messages before and after the data
  5470.     base information.
  5471.  
  5472.     * commands.c (print_commands): Changed output format to separate
  5473.     lines in commands and prefix them with tabs.
  5474.  
  5475.     * dir.c (print_dir_data_base): Changed output format slightly.
  5476.  
  5477.     * vpath.c (struct vpath, construct_vpath_list,
  5478.     selective_vpath_search): Remove the `exists' member and its uses.
  5479.  
  5480.     * vpath.c (print_vpath_data_base): New function to print all
  5481.     selective and general VPATH search paths (for -p).
  5482.  
  5483.     * make.c (print_data_base): Call print_vpath_data_base.
  5484.  
  5485.     * file.c (print_file_data_base): Changed format to look more like a
  5486.     makefile rule.  Now reports all information in the `struct file'.
  5487.  
  5488.     * rule.c (print_rule_data_base): Changed format of display from:
  5489.       %: (terminal)
  5490.        depends on: RCS/%,v
  5491.     to:
  5492.       %: RCS/%,v
  5493.         is terminal.
  5494.         references nonexistent subdirectory.
  5495.     Also include number and percent that refer to nonexistent
  5496.     subdirectories.
  5497.  
  5498. Thu Apr 27 15:45:40 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5499.  
  5500.     * make.c (main): Figure out the level of recursion before writing
  5501.     the `Entering directory' message.
  5502.     * variable.c (define_automatic_variables): Don't figure out the
  5503.     level of recursion from `MAKELEVEL'.  It's now done in main.
  5504.  
  5505.     * Version 3.48.
  5506.  
  5507. Wed Apr 26 16:39:17 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5508.  
  5509.     * commands.c (child_handler): Set `update_status' to zero when there
  5510.     are no more commands.
  5511.  
  5512.     * make.c (log_working_directory): If MAKELEVEL > 0, indicate the
  5513.     recurson in the message (make[1]: ...).
  5514.  
  5515.     * commands.c (child_handler): Change status to `cs_finished' when
  5516.     commands fail.
  5517.  
  5518.     * commands.c (start_job): Return 0 (success) if there were no more
  5519.     commands for the child.
  5520.     (child_handler): Change the status to `cs_finished' when start_job
  5521.     fails to start the commands.
  5522.  
  5523.     * make.c (main): Don't handle SIGEMT if it's not defined.
  5524.     Do handle SIGDANGER if it is defined.
  5525.  
  5526.     * commands.c (child_handler): Reorganized inner loop so that it
  5527.     doesn't try to inspect the child before finding it.
  5528.  
  5529. Tue Apr 25 16:28:24 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5530.  
  5531.     * make.c (end_of_token): Fixed bug wherein backslashes caused
  5532.     immediate return.
  5533.  
  5534.     * Version 3.47.
  5535.  
  5536.     * make.texinfo (Implicit: Pattern Rules: Automatic): Document
  5537.     setting of `$*' for explicit rules.  Add note clarifying that
  5538.     automatic variables, though referred to in the documentation as
  5539.     `$<', etc. are no different than `$(<)', etc.
  5540.  
  5541. Fri Apr 21 18:00:12 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5542.  
  5543.     * file.c (enter_file): Don't strip leading `./'s.
  5544.  
  5545.     * read.c (parse_file_seq): Strip leading `./'s.
  5546.  
  5547. Thu Apr 13 17:26:41 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5548.  
  5549.     * make.texinfo (Commands: Parallel, Running: Options): Document that
  5550.     -l with no argument removes a previous load limit.
  5551.  
  5552.     * make.c (struct command_switch): New member `default_value'.
  5553.     (default_job_slots): Default value (of 1) for -j.
  5554.     (default_load_average): Default value (of 0, unlimited) for -l.
  5555.     (command_switches): Use default values for -j and -l.
  5556.     Also, -l without an arg now means no load limit.
  5557.     (define_makeflags): Don't write positive_int or floating options
  5558.     whose values are their defaults.
  5559.  
  5560.     * make.c (main): Under -w, write a `Leaving directory' message
  5561.     before re-execing.
  5562.  
  5563. Tue Apr 11 16:46:29 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5564.  
  5565.     * Version 3.46.
  5566.  
  5567.     * Makefile: Provide an easy place for system-specific definitions
  5568.     (-DUSG, etc.) and extra object files (for whatever).
  5569.  
  5570.     * make.texinfo: Miscellaneous fixes from RMS.
  5571.  
  5572. Mon Apr 10 19:31:34 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5573.  
  5574.     * rule.c (pattern_search): Put rules with `subdir' flags set in
  5575.     TRYRULES, since these might be valid with VPATHs.  In the TRYRULES
  5576.     loop, don't do lookup_file or file_exists_p calls for dependencies
  5577.     of rules with `subdir' flags set, but still do vpath_search calls
  5578.     and intermediate-file searches.
  5579.  
  5580. Thu Apr  6 16:33:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5581.  
  5582.     * make.texinfo (Implicit: Pattern Rules: Automatic): Document the
  5583.     new definition of $* for explicit rules.
  5584.  
  5585.     * commands.c (execute_file_commands): If FILE->stem is nil, figure
  5586.     out if FILE->name ends in a suffix in the .SUFFIXES list; if so,
  5587.     store the name sans suffix in FILE->stem (and $*).
  5588.  
  5589. Wed Apr  5 15:24:48 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  5590.  
  5591.     * file.c (remove_intermediates): Don't use `file_exists_p' to check
  5592.     for the existence of intermediate files, because the hashed
  5593.     directories will probably be out of date.
  5594.  
  5595.     * commands.c (child_handler): Free the good stdin before running the
  5596.     next command line.
  5597.  
  5598.     * commands.c [USG] (init_siglist): Don't case SIGEMT if it's not
  5599.     defined.  Do case SIGDANGER (for IBM RT) if it is defined.
  5600.  
  5601.     * commands.c: Changed `SYS_WAIT' to `HAVE_SYS_WAIT'.
  5602.     (child_handler): Use `wait3' if HAVE_SYS_WAIT is #defined.
  5603.  
  5604.     * file.c (enter_file): If any `./'s are stripped off, allocate a new
  5605.     copy of the shortened name.
  5606.  
  5607.     * rule.c (pattern_search): Allocate the right length strings for
  5608.     `also_make' members.
  5609.  
  5610. Sat Apr  1 13:28:38 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5611.  
  5612.     * Version 3.45.
  5613.  
  5614.     * GNUmakefile: Make a separate tarfile of the DVI and info files.
  5615.  
  5616.     * make.c (define_makeflags): If a switch that takes an argument has
  5617.     its default value, put the switch in MAKEFLAGS with no arguments.
  5618.  
  5619.     * make.c (command_switches): Pass `-l' in MAKEFLAGS.
  5620.  
  5621. Wed Mar 29 17:50:05 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5622.  
  5623.     * GNUmakefile: Don't include the DVI and info files in the dist.
  5624.  
  5625.     * commands.c (child_handler): Don't call
  5626.     check_changed_{directories,vpaths}.
  5627.  
  5628.     * make.h: Don't declare check_changed_{directories,vpaths}.
  5629.  
  5630.     * vpath.c (check_changed_vpaths): Removed this function.
  5631.  
  5632.     * dir.c (struct directory): Remove `modtime' member.
  5633.     (find_directory): Don't set `modtime' member.
  5634.     (check_changed_directories): Removed this function.
  5635.  
  5636.     * remake.c (update_file_1): Set FILE->command_state to cs_finished
  5637.     if it didn't need to be remade.
  5638.  
  5639.     * remake.c (update_file): Only write the "up to date" message if the
  5640.     target went from `not_started' state to `finished' state without
  5641.     incrementing the count of files remade.
  5642.  
  5643.     * commands.c [USG] (init_siglist): If both SIGCHLD and SIGCLD are
  5644.     defined, don't put them both in the `switch'.
  5645.  
  5646. Tue Mar 28 15:37:02 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5647.  
  5648.     * file.c (rename_file): Change FILE's name!!!
  5649.  
  5650.     * rule.c (create_pattern_rule): Set the `terminal' member of the new
  5651.     rule after calling new_pattern_rule, which zeros it.
  5652.  
  5653.     * rule.c (default_variables): Use $(C++) in $(COMPILE.cc)!
  5654.  
  5655. Sun Mar 26 15:52:30 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5656.  
  5657.     * Makefile: Added a `clean' target.
  5658.  
  5659. Fri Mar 24 15:08:46 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  5660.  
  5661.     * Version 3.44.
  5662.  
  5663.     * file.c (rename_file): If a `struct file' for the renamed-to name
  5664.     exists, and it is a target or has deps or commands, barf.
  5665.     If not just remove the old one for put in the new one.
  5666.  
  5667.     * remake.c (update_file_1, check_dep): Changed it back so that equal
  5668.     modtimes to NOT make dependencies be considered newer.  RCS checks
  5669.     out files with equal modtimes as the RCS files, so this screws it.
  5670.  
  5671.     * make.h, glob.c: If __GNUC__ is defined, use __builtin_alloca.
  5672.  
  5673.     * Makefile: Use variables `ALLOCA' and `ALLOCASRC' so systems
  5674.     without a good standard alloca can get it from the Emacs
  5675.     distribution (or somewhere).
  5676.  
  5677.     * dir.c: Don't include <sys/stat.h>, since make.h does.
  5678.  
  5679.     * make.c: Removed debugging version of getwd.
  5680.  
  5681. Thu Mar 23 16:16:27 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5682.  
  5683.     * Version 3.43.
  5684.  
  5685.     * remake.c (update_file_1): If a dependency loop is found, don't
  5686.     fatal.  Emit an error message and remove the dependency.
  5687.  
  5688.     * remake.c (library_file_mtime): Fixed to use the right names.
  5689.     (update_file_1, check_dep): Consider a dependency "newer" than its
  5690.     dependent if they have the same modification time.
  5691.  
  5692. Wed Mar 22 19:31:35 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5693.  
  5694.     * file.c (remove_intermediates): Don't try to remove nonexistent files.
  5695.  
  5696. Mon Mar 20 10:21:22 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5697.  
  5698.     * Version 3.42.
  5699.  
  5700.     * rule.c (default_variables): Set F77 to $(FC) and F77FLAGS to
  5701.     $(FFLAGS) so explicit rules expecting these (which are in System V)
  5702.     will work.  However, there is no way to make setting these affect
  5703.     the implicit rules, unless we trash FC and FFLAGS (which BSD uses).
  5704.     [USG]: Set GET to `get' rather than `/usr/sccs/get'.
  5705.  
  5706. Sun Mar 19 20:00:27 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5707.  
  5708.     * vpath.c (construct_vpath_list): Don't replace VPATH[ELEM] with
  5709.     dir_name (V), because the latter may get freed.
  5710.  
  5711. Sat Mar 18 15:01:39 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5712.  
  5713.     * Version 3.41.
  5714.  
  5715.     * make.texinfo: Cleaned-up edition 0.1 Beta from RMS and Bob Chassell.
  5716.  
  5717.     * file.c (rename_file): If a file with the new name already existed,
  5718.     use the same storage space, after freeing the old file's name, deps,
  5719.     and `also_make' member, preserving the link in the chain.
  5720.     Also write an error message telling the user to report the incident;
  5721.     I don't think this should be able to happen, but I'm not sure.
  5722.  
  5723.     * file.c (rename_file): Don't add the hash values of the old and new
  5724.     names together!  Reset HASHVAL before computing the second value.
  5725.  
  5726.     * dir.c (check_changed_directories): Zero the new file hash table
  5727.     after allocating it.
  5728.  
  5729.     * dir.c (dir_file_exists_p): If FILENAME is "", return 1 if the
  5730.     directory exists.
  5731.  
  5732.     * vpath.c (check_changed_vpaths): New function to run through the
  5733.     search paths of all VPATHs, making the `exists' members correspond
  5734.     to reality.
  5735.  
  5736.     * commands.c (child_handler): Call check_changed_vpaths.
  5737.  
  5738.     * make.h: Declare check_changed_vpaths.
  5739.  
  5740.     * vpath.c (struct vpath): New element `exists', an array of char
  5741.     flags; exists[N] is nonzero if searchpath[N] exists.
  5742.     (construct_vpath_list): Set the `exists' member.
  5743.     (selective_vpath_search): Don't search directories whose `exists'
  5744.     elements are zero.
  5745.  
  5746.     * read.c (read_makefile): Set the `dontcare' flag of makefiles
  5747.     from the MAKEFILES variable if they were not mentioned anywhere but
  5748.     in the MAKEFILES variable.
  5749.  
  5750.     * read.c (read_makefile): Don't write an error message if fopen
  5751.     fails for a makefile from the MAKEFILES variable.
  5752.  
  5753.     * dir.c (struct directory): Add `modtime' member to record the
  5754.     modification time of the directory when it was opened.
  5755.     (check_changed_directories): New function to check all known
  5756.     directories; if their modtimes have changed since they were opened,
  5757.     their file tables are cleared and they are reset to be read in.
  5758.  
  5759.     * commands.c (child_handler): Call check_changed_directories before
  5760.     returning.
  5761.     make.h: Declare check_changed_directories.
  5762.  
  5763. Tue Mar 14 20:07:13 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5764.  
  5765.     * Version 3.40.
  5766.  
  5767.     * make.c (print_version): Made the copyright say 1988, 1989.
  5768.  
  5769.     * read.c (read_all_makefiles): Don't set *MAKEFILES to the name of
  5770.     the end of the read_makefiles chain, since the latter may be from an
  5771.     included makefile.  (Why did I do this before?)
  5772.  
  5773.     * make.c (main): Set argv[0] to "" if it was nil.  Don't put the
  5774.     command-line variable definitions into argv[0], only into the MAKE
  5775.     variable!
  5776.  
  5777. Sun Mar  5 20:44:08 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5778.  
  5779.     * ar.c (ar_member_date, ar_touch): Remove the trailing ) from the
  5780.     member name.
  5781.  
  5782. Fri Mar  3 18:15:15 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5783.  
  5784.     * commands.c (construct_command_argv): Initialize NEW_ARGV to 0.  At
  5785.     `slow' label, if NEW_ARGV is not 0, free it; then allocate 4 strings.
  5786.  
  5787. Tue Feb 28 14:29:39 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5788.  
  5789.     * Version 3.39.
  5790.  
  5791.     * COPYING, make.texinfo: New GNU General Public License, version 1.
  5792.  
  5793.     * *.c, *.h, Makefile: New copyright notices for the new GNU General
  5794.     Public License, version 1.
  5795.  
  5796.     * commands.c [USG]: Define WRETCODE correctly (again).
  5797.  
  5798.     * variable.c (expand_function: `shell'): Don't capture the standard
  5799.     error output of the shell command.
  5800.  
  5801.     * ar.c (ar_touch, ar_member_date): Allocate MEMNAME with the right
  5802.     length.
  5803.  
  5804.     * load.c [not UMAX] (load_average): Don't clobber the first nlist
  5805.     member when trying to set the second!
  5806.  
  5807. Thu Feb 23 13:13:53 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  5808.  
  5809.     * commands.c (child_handler): Really ignore errors under -i and for
  5810.     - lines, don't just print a different message.
  5811.  
  5812.     * make.c (decode_switches): Fixed handling of arguments (or lack
  5813.     thereof) to switches.
  5814.  
  5815. Wed Feb 22 16:25:39 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  5816.  
  5817.     * commands.c (construct_command_argv): Don't clobber LINE when
  5818.     checking the IFS variable.
  5819.  
  5820. Sun Feb 19 11:17:07 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5821.  
  5822.     * load.c [UMAX, not NO_LDAV] (load_average): Return 0.0 rather than
  5823.     randomness when calls fail.
  5824.  
  5825.     * Version 3.38.
  5826.  
  5827.     * commands.c (fatal_error_signal): If handling a user kill signal
  5828.     (TERM, INT, HUP), wait for the children without printing the
  5829.     "Waiting for children" message, since they will die quickly.
  5830.  
  5831.     * Version 3.37.
  5832.  
  5833.     * remote-stub.c (remote_status): Take another arg, BLOCK.  If this
  5834.     is nonzero block waiting for remote children.  If not, return 0 if
  5835.     we would have to block.
  5836.  
  5837.     * commands.c (child_handler) [not USG]: If called as a signal
  5838.     handler, use wait3 and don't block.
  5839.     [USG]: If called as a signal handler, return after handling one child.
  5840.  
  5841. Sat Feb 18 13:37:04 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5842.  
  5843.     * file.c (snap_deps): Process all double-colon entries of each file,
  5844.     not just the first one.
  5845.  
  5846.     * Version 3.36.
  5847.  
  5848.     * remote-stub.c: remote.c renamed.
  5849.     remote.c: Just include remote-stub.c
  5850.  
  5851.     * commands.c (child_handler): If we were called as a signal handler,
  5852.     return after handling one child.
  5853.  
  5854.     * commands.c [not USG]: Include <signal.h> and define `sigmask' if
  5855.     <signal.h> doesn't.
  5856.     (block_children, unblock_children): Use sigmask rather than
  5857.     bitshifting explicitly (and incorrectly).
  5858.  
  5859.     * remote.c (remote_kill): New function to send a signal to a
  5860.     remote child.
  5861.  
  5862.     * commands.c (fatal_error_signal): If we get a SIGTERM, send one to
  5863.     each living child.  If we get a SIGTERM, SIGINT, or SIGHUP, delete
  5864.     all pending targets before waiting for children.
  5865.     (struct child): Add new member `deleted'.
  5866.     (start_job): Initialize `deleted' member to 0.
  5867.     (delete_child_targets): New function to delete a given child's
  5868.     targets, unless the `deleted' flag in the `struct child' says they
  5869.     have already been deleted.  Sets this flag before returning.
  5870.  
  5871. Thu Feb 16 18:32:07 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5872.  
  5873.     * commands.c [USG]: Define `WRETCODE' correctly (X & 0xff00).
  5874.  
  5875. Tue Feb 14 16:05:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5876.  
  5877.     * commands.c (construct_command_argv): Don't make the 0th element of
  5878.     the argument list be "sh" when executing /bin/sh, because start_job
  5879.     uses the 0th element as the program name.
  5880.  
  5881. Sun Feb 12 17:42:05 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5882.  
  5883.     * Version 3.35.
  5884.  
  5885.     * read.c (readline): Put a null in the beginning of the buffer
  5886.     before starting the reading loop.
  5887.  
  5888.     * read.c (read_makefile): Made main reading loop while
  5889.     !feof (infile), and removed EOF check after calling readline.
  5890.  
  5891. Sun Feb  5 19:52:38 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5892.  
  5893.     * remote.c (block_remote_children, unblock_remote_children): New
  5894.     (stub) functions to block and restore asynchronous notification of
  5895.     remote child death.
  5896.  
  5897.     * commands.c (block_children): Call block_remote_children.
  5898.     (unblock_children): Call unblock_remote_children.
  5899.     (child_handler): If called as a signal handler, block remote
  5900.     children on entry and unblock them before returning.
  5901.  
  5902.     * commands.c (child_handler): For unknown children, if they are
  5903.     remote, give their remote ID; if local, give their PID and make's.
  5904.  
  5905.     * commands.c (execute_file_command): Don't put a new child in the
  5906.     chain unless start_job succeeds.  Block children before calling
  5907.     start_job, and unblock them after putting the child in the chain and
  5908.     incrementing `job_slots_used' (if start_job succeeded).
  5909.  
  5910.     * commands.c (block_children, unblock_children): Make these globally
  5911.     visible (not `static').
  5912.     commands.h: Declare block_children and unblock_children.
  5913.  
  5914.     * variable.c (expand_function: `shell'): Use
  5915.     `shell_function_completed'.  Block children before forking and
  5916.     unblock after `shell_function_pid' is set properly and
  5917.     `shell_functon_completed' is reset to 0.
  5918.  
  5919.     * commands.c (child_handler): When the child of the `shell' function
  5920.     completes, set `shell_function_completed' to 1 if it actually ran,
  5921.     or -1 if it didn't (due to fork or exec failure).
  5922.  
  5923.     * commands.c (block_children, unblock_children): New functions to
  5924.     block and unblock the child termination signal.
  5925.     (wait_for_children): Use block_children and unblock_children.
  5926.     (execute_file_commands): Block children around the critical section
  5927.     wherein a new child is put on the chain.
  5928.  
  5929.     * make.c (main): Change the environment to contain the correct
  5930.     MAKELEVEL before re-execing.
  5931.  
  5932. Sat Feb  4 18:28:48 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  5933.  
  5934.     * Version 3.34.
  5935.  
  5936. Fri Feb  3 16:36:49 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  5937.  
  5938.     * rule.c (default_variables): Fixed $(LINK.c).
  5939.  
  5940. Wed Feb  1 18:05:07 1989  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  5941.  
  5942.     * Version 3.33.
  5943.  
  5944.     * version.c: Removed copyright notice, since this is a one-line file.
  5945.  
  5946.     * commands.c (error_status): Made it return BUF, rather than running
  5947.     off the end (this apparently worked on Sun 3s for some reason).
  5948.  
  5949.     * ar.c, commands.c, dep.h, load.c, make.c, make.h, read.c, remake.c,
  5950.     rule.c, variable.c, Makefile: Changed copyrght notices to cover 1989.
  5951.  
  5952. Mon Jan 30 15:51:28 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  5953.  
  5954.     * Version 3.32.
  5955.  
  5956. Fri Jan 27 20:09:24 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  5957.  
  5958.     * remake.c (remake_file): Don't touch phony targets.
  5959.  
  5960.     * rule.c (convert_to_pattern): Fixed an incorrect length passed to
  5961.     savestring.
  5962.  
  5963.     * variable.c (expand_function: `shell'): Close the read side of the
  5964.     pipe on the parent side of the fork.
  5965.  
  5966.     * commands.c (start_job): On the child of the fork, close the
  5967.     BAD_STDIN fd if we're not using it.
  5968.  
  5969.     * read.c (record_files): A file beginning with a dot can be a
  5970.     default target if it also contains a slash (as in `../foo').
  5971.  
  5972.     * commands.c (wait_for_children): For BSD, block SIGCHLD rather than
  5973.     ignoring it to avoid a race condition when child_handler is returning.
  5974.  
  5975.     * commands.c (child_handler): Do blocking waits.
  5976.     (error_status): Return a string describing exit status.  (Split out
  5977.     of child_handler).
  5978.  
  5979.     * read.c (multi_glob): Change VECTOR to VEC for Alliant.
  5980.  
  5981. Thu Jan  5 00:06:51 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  5982.  
  5983.     * Version 3.31.
  5984.  
  5985.     * make.texinfo (Features): Noted $(foo:PAT=SUB) from SunOS 4.0.
  5986.  
  5987.     * make.texinfo (Options/Recursion): -d and -p go in the environment.
  5988.  
  5989.     * load.c: Include "commands.h".
  5990.  
  5991. Wed Jan  4 17:49:25 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  5992.  
  5993.     * make.c (switches): -d and -p can come from the environment and are
  5994.     put into it.
  5995.  
  5996.     * read.c (record_files): Fixed the checking for duplicate deps so it
  5997.     doesn't clobber the first one.
  5998.  
  5999.     * make.texinfo: Documented default implicit rule changes.
  6000.  
  6001.     * rule.c: Revamped default suffix rules.  They now use Sun's style
  6002.     of using variables `COMPILE.c', `LINK.c', etc. for each suffix, and
  6003.     use `TARGET_ARCH' and `TARGET_MACH' variable where appropriate.
  6004.     Also support Modula-2 compilation (suffixes .sym, .def, and .mod).
  6005.     Ratfor Yacc support is gone, since nobody has yacc -r.
  6006.     All EFL support is gone, since nobody uses EFL.
  6007.  
  6008.     * ar.c, arscan.c: Don't assume `long int' and `int' are the same.
  6009.  
  6010.     * commands.c [USG]: Fixed wait status bit encoding.
  6011.     [USG and not USGr3] (dup2): Define this for SysVr2.
  6012.  
  6013.     * make.h, dep.h, make.c [iAPX286]: Make allowances for this
  6014.     brain-damaged compiler.
  6015.  
  6016.     * make.texinfo (Variables: Flavors): Fixed a typo.
  6017.  
  6018. Tue Jan  3 18:09:31 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  6019.  
  6020.     * ar.c (ar_member_date, ar_touch): Truncate member names to 15 chars.
  6021.  
  6022.     * Version 3.30.
  6023.  
  6024.     * commands.c [SYS_WAIT]: If this is defined, use BSD <sys/wait.h>
  6025.     and wait3 even if USG.
  6026.  
  6027.     * read.c (record_files): Defining .DEFAULT with no deps or commands
  6028.     clears its commands.
  6029.  
  6030.     * rule.c (default_suffixes): Added `.sh'.
  6031.     (default_suffix_rules): Added single-suffix .sh rule, copies source
  6032.     to target and makes target executable.
  6033.     make.texinfo (Catalogue of Rules): Documented .sh rule and its use
  6034.     in conjunction with SCCS.
  6035.  
  6036.     * rule.c (set_default_suffixes): Define variable `SUFFIXES' to the
  6037.     default list ("" under -r).
  6038.     make.texinfo (Suffix Rules): Document `SUFFIXES' variable.
  6039.  
  6040.     * rule.c (default_variables), make.texinfo (Implicit Variables):
  6041.     Variable AR defaults to `ar', ARFLAGS to `rv', and RM to `rm -f'.
  6042.  
  6043.     * rule.c (install_default_pattern_rules): Default variables are made
  6044.     recursive.
  6045.     (default_variables): Added "CPP", defined to "$(CC) -E".
  6046.     (default_suffixes): Added `.S', before `.s'.
  6047.     (default_suffix_rules): New rule for .S to .s, runs CPP.
  6048.     All rules that use CPP now include "$(CPPFLAGS)".
  6049.     make.texinfo (Catalogue of Implicit Rules, Implicit Variables):
  6050.     Documented above changes.
  6051.  
  6052.     * commands.c [USG] (sys_siglist): Don't define.
  6053.     [USG] (init_siglist): New function to initialize sys_siglist.
  6054.  
  6055.     * make.texinfo (Variables: Reference): Documented `$(foo:PAT=SUB)'
  6056.     references.
  6057.  
  6058.     * variable.c (variable_expand): A reference `$(foo:PAT=SUB)' is
  6059.     equivalent to `$(patsubst PAT,SUB,$(foo))'.
  6060.  
  6061.     * variable.c (variable_expand): Free the storage for the expansion
  6062.     of a recursive variable when it is nod longer needed.
  6063.  
  6064.     * variable.c (variable_expand): When checking for `$($(foo))', use
  6065.     lindex so as not to search for the second `$' outside the parens.
  6066.  
  6067.     * make.c (struct stringlist, main, decode_switches): Changed `index'
  6068.     member to `idx'.
  6069.  
  6070. Sat Dec 24 16:02:32 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6071.  
  6072.     * commands.c (wait_for_children [USG]): Handle SIGCLD with SIG_DFL,
  6073.     rather than SIG_IGN.  Ignoring SIGCLD reportedly makes wait return -1.
  6074.  
  6075.     * arscan.c [USGr3]: Define PORTAR to 1 (as with sun386).
  6076.     (ar_scan [USGr3]): Remove trailing slashes from member names.
  6077.  
  6078. Thu Dec 22 17:54:05 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  6079.  
  6080.     * make.texinfo (Makefiles: Overriding Makefiles): New node
  6081.     documenting use of .DEFAULT to have one makefile defer unmakeable
  6082.     targets to another.
  6083.  
  6084.     * make.texinfo (Implicit: Using Implicit, Implicit: Last Resort):
  6085.     Mention empty commands and xref node `Empty Commands'.
  6086.  
  6087. Wed Dec 21 20:12:40 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6088.  
  6089.     * Version 3.29.
  6090.  
  6091.     * make.c (struct command_switch, command_switches, et al): New
  6092.     member `noarg_value', if not nil, ptr to value to use if no arg is
  6093.     given to a switch that would otherwise require one.  The -j option
  6094.     can now be given w/o an arg, to mean infinite jobs.
  6095.     * commands.c: If job_slots is zero, infinite jobs.
  6096.  
  6097.     * read.c (read_all_makefiles, read_makefile): Make makefiles precious.
  6098.  
  6099.     * make.c (decode_switches): For a positive_int or floating option,
  6100.     if we moved to the next argument word, but found no argument for the
  6101.     option, move back to the correct word.
  6102.  
  6103.     * make.c (decode_switches): If we got any unknown options, die after
  6104.     processing all arguments.
  6105.  
  6106.     * GNUmakefile: Moved `include depend' to the end, so the default
  6107.     goal will be set before then.
  6108.  
  6109.     * load.c (wait_to_start_job [Unix, UMAX]): Merged into one version
  6110.     under #ifdef LDAV_BASED.  Only loop while we have jobs running.
  6111.     Sleep for increasing amounts (increase one second per iteration)
  6112.     before checking the load average (after the first check).
  6113.     Get the load average from function load_average.
  6114.     (wait_to_start_job [not LDAV_BASED]): Always return.
  6115.     (load_average [UMAX]): Fetch load average for Encore UMAX.
  6116.     (load_average [not NO_LDAV]): Fetch load average from /dev/kmem.
  6117.     [not NO_LDAV]: Define LDAV_BASED.
  6118.  
  6119. Tue Dec 20 18:54:50 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6120.  
  6121.     * Version 3.28.
  6122.  
  6123.     * commands.c (wait_for_children): Take second arg, ERROR.  If
  6124.     nonzero, and there are children, print a message on stderr.
  6125.     (execute_file_commands, fatal_error_signal): Pass second arg.
  6126.     * make.c (die), remake.c (update_goal_chain), variable.c
  6127.     (expand_function: `shell'): Ditto.
  6128.  
  6129. Sat Dec 17 01:05:38 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6130.  
  6131.     * commands.c (start_job): Call wait_to_start_job before forking.
  6132.  
  6133.     * load.c (load_average): Converted to wait_to_start_job.
  6134.  
  6135.     * remote.c: New file for remote execution functions.
  6136.     (start_remote_job_p): Return nonzero if the next job should be run
  6137.     remotely.
  6138.     (start_remote_job): Start a remote job and return an ID for it.
  6139.     (remote_status): Get status of dead remote children.
  6140.  
  6141. Fri Dec 16 16:51:07 1988  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  6142.  
  6143.     * commands.c (start_job): If start_remote_job_p () returns nonzero,
  6144.     call start_remote_job to start the job rather than fork and exec.
  6145.     (child_handler):
  6146.  
  6147.     * commands.c (execute_file_commands): Moved load average checking to
  6148.     start_job.
  6149.  
  6150.     * commands.c (child_handler: USG): Record the pid wait returns.
  6151.  
  6152.     * load.c (UMAX): Added some #include's needed for UMAX.
  6153.  
  6154.     * read.c (multi_glob), variable.c (string_glob): Ignore a (char **)
  6155.     -1 return from glob_filename.
  6156.  
  6157.     * variable.c (variable_expand): Make sure we don't increment past
  6158.     the end of the string we were passed.
  6159.  
  6160.     * variable.c (variable_expand): Terminate the expansion.
  6161.  
  6162.     * file.c (rename_file): If there is already a file under the new
  6163.     name, set its contents equal to FILE's (ick).
  6164.  
  6165.     * variable.c (define_automatic_variables): Pass all the args to
  6166.     define_variable when defining MAKELEVEL!
  6167.  
  6168.     * commands.c (execute_file_commands): If max_load_average > 0, and
  6169.     we have children running, don't start up another child until the
  6170.     load average goes below max_load_average.
  6171.  
  6172.     * make.c: New variable `max_load_average'.
  6173.     (struct command_switch, decode_switches, decode_env_switches):
  6174.     Handle floating-point (double) args.
  6175.     (command_switches): Added `-l' switch to set `max_load_average'.
  6176.  
  6177.     * load.c (load_average): New file and function to return a double
  6178.     that is the current load average (1.00 scale).
  6179.     * GNUmakefile, oldMakefile: Pass flags in $(LOAD_AVG) for load.c.
  6180.  
  6181. Thu Dec 15 15:22:08 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  6182.  
  6183.     * Makefile: Renamed to oldMakefile.
  6184.     * GNUmakefile: Make Makefile from oldMakefile and depend.
  6185.  
  6186.     * read.c (read_all_makefiles): When putting the default makefiles in
  6187.     the read_makefiles chain so they will be remade, put them in the
  6188.     right order.
  6189.  
  6190.     * remake.c (update_goal_chain): If MAKEFILES is nonzero, always make
  6191.     in serial, and return as soon as one goal whose `changed' member is
  6192.     nonzero  is successfully remade.
  6193.  
  6194.     * commands.c: Don't include <sys/fcntl.h>.
  6195.  
  6196.     * commands.c (construct_command_argv): Added ` to sh_chars.
  6197.  
  6198.     * make.h: Don't declare construct_makeflags.
  6199.  
  6200.     * make.c (main): Set up MAKEFLAGS and MFLAGS and make an environment
  6201.     both before and after reading the makefiles, so the makefiles can
  6202.     use them and possible change them, and later children will get the
  6203.     right information.
  6204.     (construct_makeflags): Replaced with define_makeflags (static void),
  6205.     which defines the two variables.
  6206.     * variable.c (define_automatic_variables): Don't define MAKEFLAGS
  6207.     and MFLAGS.
  6208.  
  6209. Mon Dec 12 14:40:31 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  6210.  
  6211.     * Version 3.27.
  6212.  
  6213.     * commands.c (child_handler): Reset the handler to ourselves when
  6214.     called for USG, since it has no safe signals.
  6215.  
  6216.     * commands.c: For USG, use an int rather than a `union wait' for
  6217.     wait calls, and dissect it with bitmasks.
  6218.     (child_handler): No wait3 system call in USG.  Since we can't
  6219.     protect from hanging, always return immediately if we have no
  6220.     children we know about and we're not running a `shell' function.
  6221.     (There is still the danger of hanging waiting for a child that died
  6222.     without our being notified.)
  6223.  
  6224.     * remake.c: Include <fcntl.h> instead of <sys/file.h>.  What we need
  6225.     is really in <fcntl.h>, and while BSD <sys/file.h> includes
  6226.     <fcntl.h>, USG doesn't.
  6227.  
  6228.     * make.c (main): Figure out the program name before doing anything
  6229.     which might need it (in a call to error or fatal).
  6230.  
  6231.     * dir.c, glob.c: Use `struct dirent' and <dirent.h> for USGr3.
  6232.  
  6233.     * arscan.c (ar_scan): Added missing & before buf (which is an int)
  6234.     if SARMAG is not defined (SysV).
  6235.  
  6236. Fri Dec  9 18:44:13 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  6237.  
  6238.     * Version 3.26.
  6239.  
  6240.     * dir.c (find_directory, dir_file_exists_p): Keep track of how many
  6241.     directories we have open and don't let it be more than
  6242.     MAX_OPEN_DIRECTORIES (currently 10).
  6243.  
  6244.     * variable.c (expand_function: `foreach'): Use expand_argument
  6245.     rather than variable_expand so each repetition doesn't clobber the
  6246.     last!!!
  6247.  
  6248. Mon Dec  5 15:58:46 1988  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  6249.  
  6250.     * Version 3.25.
  6251.  
  6252.     * Makefile: Define `install' target.
  6253.  
  6254.     * GNUmakefile: Don't include GNUmakefile or depend in the
  6255.     distribution file.
  6256.  
  6257. Wed Nov 30 15:53:42 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  6258.  
  6259.     * commands.c (execute_file_commands): Don't clobber a null into
  6260.     random storage if there were no $^ and/or $? words.
  6261.  
  6262.     * remake.c (check_dep): Set *MUST_MAKE_PTR nonzero if a dependency
  6263.     doesn't exist.
  6264.  
  6265.     * ar.c (ar_member_date, ar_touch): Make sure the modtime of the
  6266.     archive file itself is known before we fetch or change the modtime
  6267.     of one of its members.
  6268.  
  6269.     * read.c (read_makefile): Expand variable and function references
  6270.     before parsing rules so variable can contain special characters
  6271.     (colons and semicolons).
  6272.  
  6273. Sat Nov 26 11:36:31 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  6274.  
  6275.     * variable.c (expand_function: `filter', `filter-out'): Fixed so
  6276.     that filter-out works right.
  6277.  
  6278.     * variable.c (expand_function: `filter', `filter-out'): Made these
  6279.     functions use each word of their first argument as a pattern.
  6280.  
  6281. Fri Nov 25 10:51:47 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6282.  
  6283.     * Version 3.24.
  6284.  
  6285.     * read.c (record_files): If a target is listed more than once in a
  6286.     single rule (that defines commands), give a warning message rather
  6287.     than the counter-intuitive message saying commands were already
  6288.     defined (in the same place).
  6289.  
  6290.     * make.c (fatal, error): Made them both take 6 args since there is
  6291.     at least one error message that need that many.  Too bad vfprintf is
  6292.     not universal!
  6293.  
  6294.     * Version 3.23.
  6295.  
  6296.     * read.c (read_makefile): Moved the construction of the `struct
  6297.     commands' into record_files.  Call record_files before recursing for an
  6298.     included makefile so the higher-up will determine the default goal.
  6299.     (record_files): Take arguments COMMANDS, COMMANDS_IDX and
  6300.     COMMANDS_STARTED and construct a `struct commands.
  6301.  
  6302. Thu Nov 24 14:36:33 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6303.  
  6304.     * Version 3.22.
  6305.  
  6306.     * make.c (main): Made it a fatal error if we can't move back to the
  6307.     directory we started in before re-execing.
  6308.  
  6309.     * make.c (main): Get the current directory before doing anything
  6310.     else, so we know it even if we don't need it for the value of
  6311.     `MAKE', since we might want it when re-execing.
  6312.  
  6313. Wed Nov 23 13:34:44 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  6314.  
  6315.     * Version 3.21.
  6316.  
  6317.     * read.c (record_files): Eliminate duplicate deps in a chain.
  6318.  
  6319.     * variable.c (expand_function: `sort'): Pass the right number to
  6320.     qsort, not one less.
  6321.  
  6322.     * remake.c (remake_file): Always call notice_finished_file if
  6323.     FILE->command_state == cs_finished.
  6324.  
  6325.     * commands.c (execute_file_commands): Call notice_finished_file to
  6326.     set FILE's status correctly when start_job fails (because it's out
  6327.     of commands or running under -n).
  6328.  
  6329. Fri Nov 18 15:31:12 1988  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)
  6330.  
  6331.     * Version 3.20.
  6332.  
  6333.     * remake.c (update_file_1): Set the `update_status' of FILE to
  6334.     nonzero and set FILE's `updated' bit if we have decided to give up
  6335.     on remaking FILE because of errors in the dependencies.
  6336.  
  6337.     * rule.c (pattern_search): Debugging messages use `dependency' (vs.
  6338.     `dependent') properly.
  6339.  
  6340.     * make.texinfo (Conditionals: Conditional Syntax): Function index
  6341.     entries for `ifndef' and `ifneq'.
  6342.  
  6343.     * variable.c (define_automatic_variables): Define `MAKELEVEL' to the
  6344.     decimal number of the makelevel, since it may be malformed or blank.
  6345.  
  6346.     * remake.c (remake_file): Call notice_finished_file after touching.
  6347.  
  6348. Sat Nov 12 19:29:34 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6349.  
  6350.     * Version 3.19.
  6351.  
  6352.     * GNUmakefile (dist): Pass the `-f' flag to compress.
  6353.  
  6354.     * vpath.c (build_vpath_lists): Check for VPATHS being nil after
  6355.     constructing the general VPATH list from the `VPATH' variable.
  6356.  
  6357. Fri Nov 11 08:02:26 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6358.  
  6359.     * make.c (fatal, error): Made error messages for recursive runs be
  6360.     shorter.
  6361.  
  6362. Thu Nov 10 16:51:36 1988  Roland McGrath  (mcgrath at basil.Berkeley.EDU)
  6363.  
  6364.     * Version 3.18.
  6365.  
  6366.     * read.c (read_makefile): Made it eat leading spaces and formfeeds
  6367.     (but not tabs), like it's documented to.
  6368.  
  6369.     * read.c (read_makefile): Let included makefiles determine the
  6370.     default goal, as is done by System V Make.
  6371.  
  6372. Tue Nov  1 19:03:08 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6373.  
  6374.     * variable.c (new_environ): Don't increment VCNT when a variable is
  6375.     rejected.
  6376.  
  6377. Fri Oct 28 16:54:15 1988  Roland McGrath  (mcgrath at basil.Berkeley.EDU)
  6378.  
  6379.     * Version 3.17.
  6380.  
  6381.     * rule.c (convert_to_pattern): Don't use the same storage for a name
  6382.     in two rules since new_pattern_rule may free this storage when a
  6383.     rule is discarded.
  6384.  
  6385.     * rule.c (new_pattern_rule): Undid useless change I made Oct 25.
  6386.  
  6387. Thu Oct 27 19:17:53 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6388.  
  6389.     * Version 3.16.
  6390.  
  6391.     * GNUmakefile, Makefile: Fixed a typo in a comment.
  6392.     * Makefile: Removed malloc.o from object file list.
  6393.  
  6394.     * variable.c: Removed old debugging #define's for xmalloc and
  6395.     xrealloc so non-ANSI cpp's won't barf.
  6396.  
  6397.     * make.c (main): Made local array for temp file name static so
  6398.     compilers that don't do auto aggregate initialization won't barf.
  6399.  
  6400.     * read.c: Removed static declaration of copy_dep_chain since it is
  6401.     no longer static.
  6402.  
  6403. Tue Oct 25 16:59:30 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  6404.  
  6405.     * rule.c (new_pattern_rule): If we threw out the new rule because it
  6406.     matched an old one and OVERRIDE was zero, don't put the freed
  6407.     pointer in the chain!
  6408.  
  6409. Wed Oct 19 15:07:43 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  6410.  
  6411.     * Version 3.15.
  6412.  
  6413.     * variable.c (expand_function: `sort'): Don't do the sorting and
  6414.     writing out if there were no words in the first place.
  6415.  
  6416.     * remake.c (remake_file): Only fail with a "no way to make" message
  6417.     for a dependency (non-target) file.  If we don't know how to remake
  6418.     a target file, pretend it was successfully remade and is very new.
  6419.  
  6420.     * remake.c (remake_file): Don't increment `files_remade' for a
  6421.     non-target file we don't know how to remake.
  6422.  
  6423.     * read.c (record_files): Don't die with "both : and :: entries" for
  6424.     a file whose `is_target' flag is not set.
  6425.  
  6426. Tue Oct 18 17:24:11 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6427.  
  6428.     * variable.c (expand_function: `patsubst', `subst'): Free the right
  6429.     things!
  6430.  
  6431.     * variable.c (expand_function: `subst'): Don't clobber the
  6432.     pointer to the end of the second arg and then try to use it!!!
  6433.  
  6434. Mon Oct 17 16:44:45 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)
  6435.  
  6436.     * variable.c (expand_function: `patsubst'): Don't clobber the
  6437.     pointer to the end of the second arg and then try to use it!!!
  6438.  
  6439.     * variable.c (expand_function: `word' function): Made it parse its
  6440.     second argument correctly.
  6441.  
  6442.     * ar.c (ar_touch): Return 1 rather than -1 for on errors.
  6443.  
  6444. Sat Oct 15 15:12:16 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  6445.  
  6446.     * Version 3.14.
  6447.  
  6448.     * GNUmakefile: Removed explicit rule for make.dvi since the built-in
  6449.     implicit rule now works.
  6450.  
  6451.     * rule.c (default_suffix_rules): Fixed .texinfo.dvi rule yet again
  6452.     so that it really works, now that parens are counted.
  6453.  
  6454.     * remake.c (update_file_1): Set FILE's `updated' flag after calling
  6455.     remake_file if it failed or finished immediately.
  6456.  
  6457.     * remake.c (update_file): Use the `updated' flag rather than the
  6458.     command state to decide if a file was fully considered, and
  6459.     therefore might give an "up to date" message.
  6460.  
  6461.     * variable.c (expand_function): Made all functions that take more
  6462.     than one argument count parens of the appropriate flavor in their
  6463.     args and ignore commands nested in parens.
  6464.  
  6465. Fri Oct 14 18:35:00 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6466.  
  6467.     * read.c (read_all_makefiles): Pass second arg to read_makefile for
  6468.     default makefiles.
  6469.  
  6470. Thu Oct 13 16:40:08 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6471.  
  6472.     * Version 3.13.
  6473.  
  6474.     * GNUmakefile: Added an explicit rule for make.dvi since the
  6475.     built-in .texinfo.dvi implicit rule is screwed up.
  6476.  
  6477.     * rule.c (default_suffix_rules): Added a comment that the
  6478.     .texinfo.dvi rule does not work because of an ahem, feature of Make
  6479.     that at some point will be fixed--er, enhanced to alleviate this
  6480.     difficulty.
  6481.  
  6482.     * rule.c (default_suffix_rules): Fixed Texinfo -> DVI rule (again).
  6483.  
  6484.     * make.texinfo (Commands: Execution): Documented new competing for
  6485.     standard input among children.
  6486.  
  6487.     * commands.c (struct child): Added `good_stdin' flag to tell if this
  6488.     child has the stdin that doesn't point into nirvana.
  6489.     (good_stdin_used): New variable to tell if any child has the good
  6490.     standard input.
  6491.     (child_handler): Reset `good_stdin_used' if a dead child's
  6492.     `good_stdin' flag is set.
  6493.     (start_job): Give the new child the good standard input if
  6494.     `good_stdin_used' is no set, and set the child's `good_stdin' flag
  6495.     appropriately.
  6496.  
  6497.     * rule.c (default_suffix_rules): Changed Texinfo -> DVI rule to work
  6498.     better (I hope).
  6499.  
  6500.     * read.c (read_all_makefiles): Stop reading default makefiles after
  6501.     one is found.
  6502.  
  6503.     * read.c (read_makefile): Reset `reading_filename' and
  6504.     `reading_lineno_ptr' after recursing for an included makefile.
  6505.  
  6506.     * GNUmakefile: New GNU Make-specific makefile that does everything
  6507.     Makefile does plus distribution stuff, and doesn't contain any hacks
  6508.     to try to work with Unix make.
  6509.  
  6510.     * Makefile: Removed distribution stuff.
  6511.  
  6512.     * make.c (main): Use mktemp to construct the names of temporary
  6513.     files used for standard input makefiles.
  6514.  
  6515.     * make.c (main): Don't turn standard input into a broken pipe.
  6516.  
  6517.     * commands.c (start_job): Keep two extra file descriptors around: a
  6518.     good standard input, and a bad one that reads from a broken pipe.
  6519.     On the child side of the fork, if there are other children, give
  6520.     this one the broken pipe so they won't compete; if this is the only
  6521.     one, give it the good standard input.
  6522.  
  6523.     * make.h: Declare notice_finished_file.
  6524.  
  6525.     * commands.c (execute_file_commands): Use noticed_finished_file
  6526.     after waiting for the child when there is only one job slot.
  6527.  
  6528.     * remake.c (notice_finished_file): New function to re-check mtime's
  6529.     and such things to be done when commands finish.
  6530.     (update_file_1): Use notice_finished_file.
  6531.  
  6532.     * commands.c (child_handler, execute_file_commands): Use new
  6533.     variable `job_slots_used' to record the number of jobs currently
  6534.     running, rather than diddling with `job_slots'.
  6535.     (execute_file_commands): Increment `job_slots_used' before calling
  6536.     start_job and decrement it on failure to avoid race condition.
  6537.     If there is only one job slot, wait for the child to finish and
  6538.     return its status so commands are run in linear order, as if there
  6539.     were no parallelism.
  6540.  
  6541. Wed Oct 12 15:59:03 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6542.  
  6543.     * remake.c (remake_file): Don't print a "No way to make" message for
  6544.     targets whose `dontcare' flags are set.
  6545.  
  6546.     * read.c (read_all_makefiles): Set the `dontcare' flag of the
  6547.     `struct file' each default makefile added to the chain.
  6548.  
  6549.     * file.h (struct file): Add `dontcare' member.
  6550.  
  6551.     * read.c (read_all_makefiles): When no default makefiles are found,
  6552.     put the names of all those tried in the `read_makefiles' chain so
  6553.     they will be updated if possible, giving their `struct dep's'
  6554.     `changed' members the value of 0 so we won't care if they cannot be
  6555.     found or remade.
  6556.  
  6557.     * make.texinfo (Makefiles: Remaking Makefiles): Documented that
  6558.     default makefiles will be remade if not found.
  6559.  
  6560.     * read.c (read_all_makefiles): If no default makefiles can be found,
  6561.     go through the list of default names, trying to make one, stopping
  6562.     if one is made.
  6563.  
  6564.     * remake.c (remake_file): Set STATUS to 0 after successfully touching.
  6565.  
  6566.     * dir.c (file_impossible, file_impossible_p): Don't clobber FILENAME
  6567.     to "" and then try to to a strcmp on it!!!
  6568.  
  6569. Mon Oct 10 16:09:18 1988  Roland McGrath  (mcgrath at cinnamon.Berkeley.EDU)
  6570.  
  6571.     * make.c (main): Don't do `dir_load (".")'.
  6572.  
  6573.     * rule.c (count_implicit_rule_limits), vpath.c
  6574.     (construct_vpath_list): Test the existence of a given directory by
  6575.     `dir_file_exists_p (DIR, ".")' and assume that if this returns zero,
  6576.     it means the directory really does not exist.
  6577.  
  6578.     * dir.c (struct dirdata): Replaced with `struct directory' for
  6579.     directories, each containing a chain of `struct dirfiles', one for
  6580.     each file (real or impossible).
  6581.     (dir_load): Removed.
  6582.     (find_directory): New function to find the `struct directory' for a
  6583.     named directory and return it (possibly creating a new one).
  6584.     (dir_file_exists_p): Read the directory on the fly if its stream is
  6585.     still valid (and ever was) if the file we're looking for is not
  6586.     already in the hash tables.
  6587.     (file_impossible, file_impossible_p, dir_name, print_dir_data_base):
  6588.     Use the new directory/file scheme.
  6589.  
  6590.     * make.texinfo: Miscellaneous editorial changes and clarifiactions.
  6591.  
  6592.     * commands.c (struct child): Remove `environ' member.
  6593.     (child_handler, start_job, execute_file_commands): Remove use of
  6594.     `environ' member and new_environ.
  6595.  
  6596.     * make.c (main): Call new_environ after reading makefiles.
  6597.  
  6598.     * variable.h: Declare `new_environ' to return void.
  6599.  
  6600.     * variable.c (new_environ): Put the environment in `environ' and
  6601.     return void.
  6602.  
  6603. Fri Oct  7 15:48:39 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  6604.  
  6605.     * Version 3.12.
  6606.  
  6607.     * Makefile: Don't make the uncompressed tar file.
  6608.  
  6609.     * variable.c (expand_function: `shell' function): Made it not expect
  6610.     read to null-terminate the buffer.
  6611.  
  6612.     * Makefile: Made it use a temporary symlink to . rather than a
  6613.     temporary directory to make the distribution tar file.
  6614.  
  6615. Thu Oct  6 17:52:35 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6616.  
  6617.     * Version 3.11.
  6618.  
  6619.     * make.texinfo: Fixed a line that got garbaged somehow.
  6620.  
  6621. Mon Oct  3 16:14:39 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6622.  
  6623.     * make.c (main): Try to move back to the directory we started in
  6624.     before re-exec ourself.
  6625.  
  6626.     * remake.c (update_file_1): A double-colon target with no deps
  6627.     always needs to be remade.
  6628.  
  6629.     * remake.c (remake_file): Changed "No way to make" message to say
  6630.     `target' rather than `file'.
  6631.  
  6632. Sun Oct  2 12:50:47 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)
  6633.  
  6634.     * remake.c (update_file_1): Set FILE->update_status to the return
  6635.     value of remake_file.
  6636.  
  6637.     * rule.c (convert_to_pattern): Fixed swapped lengths passed to
  6638.     xmalloc for source/target suffixes.
  6639.  
  6640.     * make.texinfo: Documented that MAKEFLAGS and MFLAGS are read in
  6641.     from makefiles.  Updated the `Features' section a bit.
  6642.  
  6643.     * make.c (main): Read switches from MAKEFLAGS and MFLAGS variables
  6644.     after reading in makefiles.
  6645.  
  6646.     * make.c (main): Put a line "/tmp/foo:;" rather than ".PHONY:
  6647.     /tmp/foo" in front of temp files made for stdin makefiles.
  6648.  
  6649.     * remake.c (update_file): Test the state of the right `struct file'
  6650.     for double-colon files.
  6651.  
  6652.     * make.c (main): Put a ".PHONY: /tmp/foo" line in front of temp
  6653.     files made for stdin makefiles so they won't be remade when we
  6654.     re-exec.  Kludge-o-matic!!
  6655.  
  6656.     * remake.c (update_goal_chain): Judge files as being finished based
  6657.     on their `updated' flag, not their state.
  6658.  
  6659.     * read.c (read_makefile): Don't check for FILENAME being "-".
  6660.     (read_all_makefiles): Set each element of MAKEFILES to the name put
  6661.     in READ_MAKEFILES by read_makefile, since read_makefile may free the
  6662.     storage for the name it is passed, and someone might want to look at
  6663.     the elements of MAKEFILES again.
  6664.  
  6665.     * make.c (main): For each `-f' flag with arg `-' (standard input),
  6666.     read standard input into a temp file and pass the temp file's name
  6667.     to read_all_makefiles, after making sure it will not be remade.
  6668.  
  6669.     * make.c (construct_makeflags): Always put out `-j1'.
  6670.  
  6671. Sat Oct  1 00:19:59 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  6672.  
  6673.     * commands.c (execute_file_commands): If commands are nothing but
  6674.     whitespace, set the state to `cs_finished' before returning 0.
  6675.  
  6676.     * make.c (decode_switches): Allocate space for args in stringlists
  6677.     so they can be freed later.
  6678.  
  6679.     * make.h: Declare `makelevel'.
  6680.  
  6681.     * variable.c (makelevel): Moved to make.c (and made global).
  6682.  
  6683.     * make.c (fatal, error): Print the makelevel if it's > 0.
  6684.     (perror_with_name): Use error rather than calling fprintf directly.
  6685.     (pfatal_with_name): Use fatal rather than fprintf and die.
  6686.  
  6687.     * variable.c (new_environ): Don't put default variables (origin
  6688.     `o_default') into the environment; they just take up space.
  6689.  
  6690.     * read.c (read_makefile): Don't add FILENAME to the chain of read
  6691.     makefiles if it's "-" (standard input).
  6692.  
  6693.     * remake.c (update_goal_chain): Set STATUS correctly when nothing
  6694.     happens (as well as in all other situations).
  6695.  
  6696.     * make.c (construct_makeflags): Put a `-' before each switch and
  6697.     spaces between them.
  6698.  
  6699.     * Version 3.10.
  6700.  
  6701.     * commands.c (wait_for_children): Don't check if `children' is nil.
  6702.     This is the case when waiting for the child of a `shell' function.
  6703.  
  6704.     * dir.c (dir_load): Don't add a hash-table entry for directory
  6705.     DIRNAME and filename "" if DIRNAME doesn't exist.
  6706.  
  6707.     * commands.c (execute_file_commands): Return 0 after start_job
  6708.     returns 1 (failure) under the -n flag.
  6709.  
  6710.     * remake.c (remake_file): Set the state to `cs_finished' when not
  6711.     calling execute_file_commands.
  6712.  
  6713.     * remake.c (update_goal_chain): Second arg is now MAKEFILES, nonzero
  6714.     meaning to disable -t, -q, and -n for each target unless the target
  6715.     was also given on the command-line.
  6716.  
  6717.     * read.c (read_makefile): Enter the `struct file's for the makefiles
  6718.     added to the `read_makefiles' `struct dep' chain.
  6719.  
  6720.     * remake.c (update_goal_chain): Made it not enter the files for the
  6721.     goals in the chain.  It will already have been done.
  6722.  
  6723.     * rule.c (convert_to_pattern): Null-terminate the names of targets
  6724.     and deps of the pattern rules properly.
  6725.  
  6726. Fri Sep 30 18:56:20 1988  Roland McGrath  (mcgrath at nutmeg.Berkeley.EDU)
  6727.  
  6728.     * make.c (main): Call install_default_pattern_rules.
  6729.  
  6730.     * make.h: Declare copy_dep_chain.
  6731.  
  6732.     * read.c (copy_dep_chain): Moved to make.c (and made global).
  6733.  
  6734.     * make.c (main): Call update_goal_chain to update goals.
  6735.     Update read makefiles and re-exec self if they change.
  6736.  
  6737.     * remake.c (update_file): Make this function static.
  6738.     (update_goal_chain): New function to update a `struct dep' chain of
  6739.     goals, waiting until they are all finished before returning.
  6740.  
  6741.     * make.h: Don't declare update_file.  Declare update_goal_chain.
  6742.  
  6743.     * make.c (main): Call snap_deps, etc. that were in read_all_makefiles.
  6744.  
  6745.     * read.c (find_makefile): Removed this function.
  6746.     (read_all_makefiles): Don't update makefiles, don't diddle with
  6747.     pattern rules, don't call snap_deps, etc.  Return a `struct dep'
  6748.     chain of all makefiles read.
  6749.     (read_makefile): Now takes two args: FILENAME and TYPE, which is 0
  6750.     for a normal makefile, 1 for MAKEFILES variable or 2 for an included
  6751.     makefile.  Add a `struct dep' containing the name of the makefile
  6752.     (as it was found in the search path for type 2s), and TYPE in the
  6753.     `changed' member to the global `read_makefiles' chain.
  6754.  
  6755.     * make.h, rule.c (displace_pattern_rules,
  6756.     add_displaced_pattern_rules): Removed these functions.
  6757.  
  6758.     * read.c (read_makefile): Variable-expand the name of an `include'd
  6759.     makefile before calling find_makefile on it.
  6760.  
  6761.     * file.c (snap_deps): If the `struct file' for a `struct dep'
  6762.     already exists, free the `struct dep's `name' member before setting
  6763.     it to nil (since this info is in the `struct file').
  6764.  
  6765.     * read.c (copy_dep_chain): Made it copy each name rather than
  6766.     leaving multiple `struct dep's with the same pointers.
  6767.  
  6768. Thu Sep 29 19:08:13 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)
  6769.  
  6770.     * make.c (decode_switches): Fixed second decode_env_switches call to
  6771.     use correct length of "MFLAGS" (6, not 5).
  6772.  
  6773.     * read.c (read_makefile): Don't stop reading when readline returns
  6774.     zero lines read.  Only stop when the stream reaches EOF.  This makes
  6775.     it recognize the last line of a makefile without a newline.
  6776.  
  6777.     * remake.c (remake_file): If we don't know how to make FILE, set its
  6778.     command state to `cs_finished'.
  6779.  
  6780.     * remake.c (update_file): Don't write the "up to date" message if
  6781.     update_file_1 returned a nonzero status.
  6782.  
  6783. Wed Sep 28 16:30:07 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)
  6784.  
  6785.     * commands.c (child_handler): Set the `update_status' member
  6786.     properly for ignored errors.
  6787.  
  6788.     * rule.c (convert_to_pattern): Made it not care about if the target
  6789.     suffix comes before the source suffix in the .SUFFIXES list.
  6790.  
  6791.     * make.texinfo: Misc editorial changes.
  6792.  
  6793.     * commands.c (wait_for_children): Return immediately if `children'
  6794.     is nil (there are no children).
  6795.  
  6796. Tue Sep 27 15:33:14 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  6797.  
  6798.     * Version 3.09.
  6799.  
  6800.     * commands.c (struct child): New member `command_ptr' to hold the
  6801.     current position in the commands.  The `commands' member is never
  6802.     changed.
  6803.     (start_job, child_handler, execute_file_commands): Use new method
  6804.     for `commands' and `command_ptr' members.
  6805.  
  6806.     * make.c (decode_env_switches): Skip past an invalid letter (instead
  6807.     of looping forever).
  6808.  
  6809.     * commands.c (struct child): Add `environ' member to hold the
  6810.     environment for this child.
  6811.     (execute_file_commands): Get a new environment from new_environ and
  6812.     put in the the new `struct child's `environ' member.
  6813.     (child_handler): When freeing a child, free its `commands' member, the
  6814.     elements of its `environ' array and its `environ' member itself.
  6815.     (start_job): Set `environ' to the child's `environ' member before
  6816.     exec'ing the command.
  6817.  
  6818.     * variable.h, variable.c (new_environ): Made it return the new
  6819.     environment, not putting it in `environ'.
  6820.  
  6821.     * remake.c (update_file): Don't give a "is up to date" message
  6822.     unless no files were remade and the state went from `cs_not_started'
  6823.     to `cs_finished', so repeat calls to finish jobs won't get the message.
  6824.  
  6825. Mon Sep 26 16:26:08 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  6826.  
  6827.     * Version 3.08.
  6828.  
  6829.     * make.texinfo (Commands: Execution): Documented that children will
  6830.     be waited for rather than killed.
  6831.  
  6832.     * commands.c (fatal_error_signal): Wait for children.
  6833.     (kill_children): Removed this function.
  6834.  
  6835.     * make.c (main, die): Wait for children to die, don't kill them.
  6836.  
  6837.     * variable.c (expand_function): Use wait_for_children.
  6838.  
  6839.     * make.c (main): Use wait_for_children rather than child_handler.
  6840.  
  6841.     * commands.c (wait_for_children): New function to block waiting for
  6842.     children, insuring that child_handler is not called recursively.
  6843.     (execute_file_commands, kill_children): Use wait_for_children.
  6844.  
  6845.     * commands.c (child_handler): Start up additional commands in a
  6846.     sequence after an ignored error.
  6847.  
  6848.     * remake.c (update_file): Don't print "`foo' is up to date" messages
  6849.     when update_file_1 returns while commands are executing.
  6850.  
  6851.     * remake.c (update_file_1): Pass the file name to name_mtime, not
  6852.     the bloody `struct file', dammit!!
  6853.  
  6854.     * commands.c (child_handler): Print out the "*** ..." error message
  6855.     when not under -i.  (I somehow forgot this.)
  6856.  
  6857.     * remake.c (update_file_1): Use name_mtime rather than file_mtime to
  6858.     re-get the mtime of a file whose commands have finished.
  6859.  
  6860.     * make.c (command_switches, decode_switches, decode_env_switches):
  6861.     Make all switches that take string args allow them right after the
  6862.     switch letter.
  6863.  
  6864.     * commands.c (child_handler): Check for a child being the `shell'
  6865.     function's command returning and set the global variable for
  6866.     expand_function to check.
  6867.  
  6868.     * variable.c (expand_function): For the `shell' function, instead of
  6869.     waiting for the child shell ourselves, let child_handler do it and
  6870.     loop around waiting for something to happen.
  6871.  
  6872.     * make.c (print_version): Made the copyright year static, not dynamic.
  6873.  
  6874.     * make.h, make.c: Remove construct_argv function.
  6875.  
  6876.     * make.c (main): Say "no goal target" instead of "no target".
  6877.  
  6878.     * make.texinfo (Commands: Parallel): Don't send SIGKILL.
  6879.  
  6880.     * commands.c (kill_children): Don't send SIGKILL to children that
  6881.     aren't killed by the first signal.
  6882.  
  6883.     * make.c (main), commands.c (kill_children): Decide between SIGCHLD
  6884.     and SIGCLD based on whether or not SIGCHLD is defined, not on USG.
  6885.  
  6886.     * Makefile: Link make with $(LOADLIBES).
  6887.  
  6888.     * read.c (construct_include_path): Fixed another bad xrealloc call.
  6889.  
  6890.     * make.c (decode_switches): Fixed an xrealloc call with no first arg.
  6891.  
  6892. Sat Sep 24 01:16:21 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  6893.  
  6894.     * Version 3.07.
  6895.  
  6896.     * remake.c (update_file_1): If deps are running, set state to
  6897.     `cs_deps_running' and return 0.  If deps are done, run commands.
  6898.  
  6899.     * commands.c (child_handler): Made it delete non-precious targets
  6900.     killed by fatal signals.
  6901.  
  6902.     * make.texinfo: Documented parallelism.
  6903.  
  6904. Fri Sep 23 16:52:27 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  6905.  
  6906.     * remake.c (update_file_1): Don't return if FILE's state is
  6907.     `cs_deps_running'.  In that case, we need to run through and check
  6908.     the states of all our dependencies.
  6909.  
  6910.     * commands.c (execute_file_commands): Decrement `job_slots' after
  6911.     starting a new job to run file commands.
  6912.  
  6913.     * commands.c (start_job): Made it set the state to `cs_running'.
  6914.  
  6915.     * make.c (main): Fixed usage of `g', `lastgoal', and `goals' in the
  6916.     goal-making loop.
  6917.  
  6918.     * commands.c (child_handler): When commands finish, set the
  6919.     corresponding file's `update_status' and `updated' flags as
  6920.     appropriate, and reset the modtimes of the file and any `also_make'
  6921.     files it has.
  6922.  
  6923.     * remake.c (remake_file): Don't re-set `last_mtime' and set `updated'.
  6924.  
  6925.     * commands.c (fatal_error_signal): Don't swallow all the children
  6926.     with a loop around `wait ((union wait *) 0)'!!!
  6927.  
  6928.     * make.c (struct command_switch): Added `positive_int' type.
  6929.     (switches): Added -j (job_slots).
  6930.     (construct_makeflags, decode_switches, decode_env_switches):
  6931.     Handle`positive_int'-type switches.
  6932.  
  6933.     * glob.c (glob_vector): Rename local variable `vector' to `VeCtOr'.
  6934.     This is said to avoid a conflict with some system's global `vector'
  6935.     variable.
  6936.  
  6937.     * variable.c (expand_function): Made the `shell' function use
  6938.     construct_command_argv and do its own child control and piping.
  6939.  
  6940.     * make.c (main): Turn standard input into a broken pipe after
  6941.     reading in all makefiles (the last time it will be needed).
  6942.  
  6943.     * commands.c (struct child): Remove `pipe_fd' member.  We don't use
  6944.     pipes any more.
  6945.     (start_job): Return 0 for success, 1 or failure (rather than void).
  6946.     Don't use pipes.  Don't turn the child's stdin into a broken pipe.
  6947.     (child_handler): Print "*** Error" messages when necessary.
  6948.     Die on failed commands when -k was not given.
  6949.     (execute_file_commands): Check the return of start_job and remove
  6950.     the child from the chain and return failure if it is nonzero.
  6951.  
  6952.     * make.c (die): New function to clean up and exit.
  6953.     (fatal, pfatal_with_name): Use die.
  6954.  
  6955. Thu Sep 22 14:27:11 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  6956.  
  6957.     * commands.c (struct child): Added `commands', `pipe_fd', and
  6958.     `noerror' members to keep track of info about a command thread.
  6959.     (start_job): New function to start a job and update the argument
  6960.     `struct child' to reflect its status.
  6961.     (execute_file_commands): Merged run_file_commands back in.
  6962.     Made it use new start_job function.
  6963.  
  6964.     * rule.c (freerule): Don't free the `struct commands' of the
  6965.     discarded rule.  It may be used in more than one place.
  6966.  
  6967.     * commands.c (execute_command_line): Made it not try to delete the
  6968.     possibly partly-made file.  The child_handler function will do this.
  6969.     (fatal_error_signal): Ditto + call kill_children.
  6970.  
  6971.     * make.h: Declare job_slots.
  6972.  
  6973.     * make.c (main): Collect goals in a dep chain and run through this
  6974.     chain waiting for a child, eliminating finished goals, updating all
  6975.     remaining goals, and quitting if they fail and not -k.
  6976.  
  6977.     * commands.c (child_handler): If called with SIG < 0, - SIG is the
  6978.     max number of children to bury.
  6979.  
  6980.     * commands.c (child_handler): If called with SIG as zero,
  6981.     block waiting for running children.
  6982.     (kill_children): Call child_handler with zero rather than SIGCHLD.
  6983.  
  6984.     * remake.c (update_file_1): Use the `command_state' member of FILE
  6985.     and its dependencies to determine what commands are running, what to
  6986.     do, etc.  If commands or dep commands are running when we are
  6987.     called, return success (0).  If commands finished since the last
  6988.     time we were called, return their status.
  6989.  
  6990.     * commands.h: Declare kill_children.
  6991.  
  6992.     * commands.c: Define `struct child' to keep track of child
  6993.     processes, with the chain in `children'.
  6994.     (child_handler): New function to catch child-termination signals
  6995.     (SIGCHLD, or SIGCLD for USG), store the returned status in the
  6996.     appropriate structure, take the now-obsolete `struct child' out of
  6997.     the chain, and free its storage.
  6998.     (execute_file_commands): Put all of the stuff invloving running the
  6999.     commands into new function run_file_commands.  Execute_file_commands
  7000.     now does process management for the commands, while
  7001.     run_file_commands (which is run in a subprocess) runs the commands.
  7002.     (kill_children): New function to kill all running children by
  7003.     sending them signal SIG.  If there are any children still living
  7004.     after they are all sent SIG, they are all sent SIGKILL.
  7005.  
  7006.     * make.c (main): Catch SIGCHLD (SIGCLD for USG) with child_handler.
  7007.  
  7008.     * commands.h: Declare child_handler function.
  7009.  
  7010.     * commands.c (execute_file_commands): Check the `command_state'
  7011.     member of FILE and return 0 if it is `cs_running' or
  7012.     `cs_deps_running' and return the stored status if it is `cs_finished'.
  7013.  
  7014.     * file.h (struct file): Added `command_state' member.
  7015.  
  7016.     * commands.c (execute_command_line): Add `$' to the list of
  7017.     characters special to the shell.
  7018.  
  7019. Wed Sep 21 15:57:41 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  7020.  
  7021.     * read.c (read_all_makefiles): Call convert_to_pattern before
  7022.     recomputing the limits after adding the displaced rules.
  7023.  
  7024.     * make.c (main): Move calls to snap_deps, convert_to_pattern, and
  7025.     build_vpath_lists to read_all_makefiles.
  7026.  
  7027.     * read.c (read_all_makefiles): Install the default pattern rules
  7028.     before checking to remake the makefiles, displace these rules before
  7029.     reading in the makefiles, and then add the displaced rules to the
  7030.     chain after reading in all the makefiles.
  7031.  
  7032.     * make.c (main): Don't call install_default_pattern_rules or
  7033.     count_implicit_rule_limits.
  7034.  
  7035.     * make.h: Declare displace_pattern_rules and
  7036.     add_displaced_pattern_rules.
  7037.  
  7038.     * rule.c (displace_pattern_rules, add_displaced_pattern_rules): New
  7039.     functions to stow the chain and add the stowed chain on the end of
  7040.     the current chain.
  7041.  
  7042.     * make.texinfo (Implicit: Search Algorithm): Fixed PREV reference.
  7043.  
  7044.     * make.c (main): Call construct_include_path right after decoding
  7045.     the switches.
  7046.  
  7047.     * read.c (find_makefile): Use rename_file.
  7048.  
  7049.     * file.h: Declare rename_file.
  7050.  
  7051.     * file.c (rename_file): New function to rename a `struct file' and
  7052.     put it in the correct hash bucket.
  7053.  
  7054.     * read.c (find_makefile): New function to find and update a makefile.
  7055.      (read_all_makefilese): Use find_makefile.
  7056.      (read_makefile): Don't do updating.  Removed UPDATEIT arg.
  7057.  
  7058.     * remake.c (update_file_1): Took out setting the `updated' member to
  7059.     -1 rather than 1 sometimes.
  7060.  
  7061.     * make.c (main): Made it print version info before doing anything else.
  7062.  
  7063.     * remake.c (library_file_mtime, f_mtime): Removed use of last two
  7064.     arguments to vpath_search.
  7065.  
  7066.     * rule.c (pattern_search): Removed use of last two arguments
  7067.     to vpath_search.
  7068.  
  7069.     * vpath.c (vpath_search, selective_vpath_search): Removed unused
  7070.     DIRPREFIX and DPLEN args.
  7071.  
  7072.     * read.c (read_makefile): Also turn off -n when updating makefiles.
  7073.  
  7074. Tue Sep 20 17:01:10 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)
  7075.  
  7076.     * Makefile: Put tags files in the tarfile.
  7077.  
  7078.     * read.c (read_makefile): Get the modtime of the makefile via a stat
  7079.     call so that a later file_mtime call won't do VPATH search for it.
  7080.  
  7081.     * read.c (read_makefile): Don't turn off -t and -q if the makefile
  7082.     was a command-line target.
  7083.  
  7084.     * make.c (main): Enter command-line targets as files and set their
  7085.     `cmd_target' members.
  7086.  
  7087.     * file.h (struct file): Added `cmd_target' member.
  7088.  
  7089.     * read.c (read_makefile): Temporarily turn off -t and -q while
  7090.     updating makefiles.
  7091.  
  7092.     * make.c (main): Don't use arg 0 from other_args (which is now
  7093.     argv[0]; i.e., the program's name).
  7094.  
  7095.     * read.c (read_makefile): Only return nonzero if commands were
  7096.     actually run to remake the makefile.
  7097.  
  7098.     * remake.c (update_file_1): Set FILE->updated to -1 if no commands
  7099.     were actually run (because no update was done or -t was given).
  7100.  
  7101.     * make.c (decode_switches): Fixed bug wherein xrealloc was passed
  7102.     bad args if it tried to expand other_args->list.
  7103.  
  7104.     * read.c (read_all_makefiles): Made it not look at the `MAKE'
  7105.     variable, just use argv[0].
  7106.  
  7107. Sun Sep 18 17:34:11 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)
  7108.  
  7109.     * read.c (rerun_make): New function to re-exec make.
  7110.  
  7111.     * make.c (construct_makeflags, construct_argv): New functions to
  7112.     construct the `MAKEFLAGS' variable and to construct an arg list from
  7113.     parsed info.
  7114.  
  7115.     * read.c (read_makefile): New arg UPDATEIT, if nonzero, says to
  7116.     update the makefile as a target before reading it in.  When reading
  7117.     included makefiles, pass this as zero.  Now returns nonzero if the
  7118.     makefile was updated, zero if not.
  7119.     (read_all_makefiles): Pass a nonzero UPDATEIT arg to read_makefile
  7120.     for all default and -f makefiles and all makefiles from the
  7121.     `MAKEFILES' variable.  If any of the makefiles has changed, re-exec
  7122.     self to re-read them.
  7123.  
  7124.     * remake.c (update_file): Print a "File `foo' up to date'" message
  7125.     under -p.
  7126.  
  7127.     * commands.c (execute_file_commands): Allocate one byte for each of
  7128.     $^ and $< rather than zero if they are to be empty.
  7129.  
  7130. Fri Sep 16 13:59:59 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7131.  
  7132.     * Version 3.06.
  7133.  
  7134.     * make.c (command_switches): Fixed entry for `-o' switch.
  7135.  
  7136.     * make.texinfo: Renamed -c switch to -C.
  7137.  
  7138.     * make.c: Renamed -c switch to -C.
  7139.  
  7140.     * Miscellaneous de-linting.
  7141.  
  7142.     * read.c (record_files): Made it not free the storage for the name
  7143.     if it started with `./' and was therefore not quite the same as in
  7144.     the `struct file'.
  7145.  
  7146.     * read.c (record_files): If commands were specified twice, the error
  7147.     message specifies in what files and at what line numbers.
  7148.  
  7149.     * make.c (main): If any of the signals we usually fatal on were
  7150.     ignored by the parent (probably a shell), ignore them.
  7151.  
  7152.     * make.c (main): Print version info for -v, -p, or -d.
  7153.     (print_data_base): Don't print version info.  It will be done in main.
  7154.  
  7155.     * variable.c: Increased number of hash buckets to 257.
  7156.  
  7157.     * file.c: Increased number of hash buckets to 1007.
  7158.  
  7159.     * rule.c (count_implicit_rule_limits): Moved comptation of
  7160.     `maxsuffix' to convert_to_pattern, since that function uses
  7161.     `maxsuffix', and must be called before count_implicit_rule_limits.
  7162.  
  7163.     * rule.c (pattern_search): If an existent (non-intermediate)
  7164.     dependendency was found via a terminal rule, set its
  7165.     `tried_implicit' flag, so it will never have implicit rule search done.
  7166.  
  7167.     * glob.c: Bug fix to avoid alloca(0).
  7168.  
  7169.     * arscan.c: USG and Sun386i fixes.
  7170.  
  7171. Thu Sep 15 19:40:26 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  7172.  
  7173.     * make.texinfo: Fixed some typos and spelling errors.
  7174.  
  7175. Wed Sep  7 14:20:39 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)
  7176.  
  7177.     * make.c (decode_switches): Fixed bug wherein a bad option would
  7178.     give a useless error message and loop forever.
  7179.  
  7180. Tue Sep  6 14:36:02 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7181.  
  7182.     * make.texinfo: Documented `shell' function.
  7183.  
  7184.     * variable.c (expand_function): New function `shell', does
  7185.     backquote-style command expansion of its arg.
  7186.  
  7187.     * commands.c (execute_command_line): Second arg OUTBUF, if not nil,
  7188.     gets filled in with a malloc'd buffer containing the piped stdout of
  7189.     the command.
  7190.     (execute_file_commands): Use above (pass nil).
  7191.  
  7192. Mon Sep  5 17:03:49 1988  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)
  7193.  
  7194.     * Makefile: Added copyright notice.
  7195.     Added a comment about defining `NO_MINUS_C_MINUS_O' if necessary.
  7196.  
  7197.     * Version 3.05.
  7198.  
  7199.     * rule.c (default_suffix_rules): Don't pass `-o' switches with `-c'
  7200.     switches if `NO_MINUS_C_MINUS_O' is #define'd.
  7201.  
  7202.     * make.texinfo: Documented `GNUmakefile'.
  7203.  
  7204.     * read.c (read_all_makefiles): Made it try default makefile
  7205.     `GNUmakefile' before others.
  7206.  
  7207.     * make.texinfo: Added new-style Texinfo header thingies.
  7208.  
  7209. Sat Sep  3 18:09:39 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  7210.  
  7211.     * Version 3.04.
  7212.  
  7213.     * make.texinfo (Chained Rules): Added a @cindex about using
  7214.     .PRECIOUS to preserve intermediate files.
  7215.  
  7216.     * remake.c (update_file_1): Made it not just return before executing
  7217.     commands under -p.
  7218.  
  7219.     * rule.c (default_pattern_rules, default_variables): Made it use
  7220.     `$(AR)' for `ar r' (to put files in archives).
  7221.  
  7222.     * vpath.c (build_vpath_lists): Made it recursively expand the
  7223.     `VPATH' variable (by using variable_expand instead of lookup_variable).
  7224.  
  7225.     * read.c (conditional_line): Made it not swallow whitespace after
  7226.     the comma in an `ifeq' using the `(a,b)' syntax.
  7227.  
  7228.     * rule.c (count_implicit_rule_limits): Made it not crash if a
  7229.     pattern rule dep begins with `/'.
  7230.  
  7231. Sun Aug 28 15:51:12 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)
  7232.  
  7233.     * make.texinfo: Clarified that the arg to the `origin' function is a
  7234.     variable *name*, not a reference.
  7235.  
  7236.     * make.texinfo: Clarified that both -Idir and -I dir are allowed.
  7237.  
  7238. Sat Aug 27 13:49:28 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7239.  
  7240.     * remake.c (remake_file): Made touching phonies work right.
  7241.  
  7242. Wed Aug 24 20:40:48 1988  Roland McGrath  (mcgrath at nutmeg.Berkeley.EDU)
  7243.  
  7244.     * make.texinfo: Removed reference to `RANLIB' variable.
  7245.  
  7246.     * Version 3.03.
  7247.  
  7248.     * variables.c (expand_function): Added `origin' function.
  7249.     * make.texinfo: Documented same.
  7250.  
  7251.     * read.c (record_files): Made double-colon entries work.
  7252.  
  7253. Sat Aug 20 21:09:39 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7254.  
  7255.     * make.c (collapse_continuations): Bug fix from RMS.
  7256.  
  7257.     * rule.c (install_default_pattern_rules): Made it set the
  7258.     `in_use' flag of the created rules to zero, rather than letting
  7259.     it be random garbage.
  7260.  
  7261.     * rule.c (pattern_search): Fixed putting `also make' targets into
  7262.     file strucutres.
  7263.  
  7264.     * read.c (record_files): Fixed bug which made double-colon entries
  7265.     make it read off into space.
  7266.  
  7267.     * make.c (decode_switches): Made it understand `ignored' switches
  7268.     rather than dumping core.
  7269.  
  7270. Sun Aug 14 16:49:00 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7271.  
  7272.     * read.c (read_makefile): Made `include' filenames be
  7273.     variable-expanded.
  7274.  
  7275.     * read.c (read_makefile): Fixed an error message.
  7276.  
  7277.     * read.c (read_makefile): Made it accept ^L's as whitespace.
  7278.     * make.c (next_token, end_of_token): Ditto.
  7279.  
  7280.     * vpath.c (vpath_search): Fixed it so that the general VPATH (from
  7281.     the variable) is always checked, even if a selective VPATH (from a
  7282.     directive) matched the filename.
  7283.  
  7284. Sat Aug 13 14:20:46 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7285.  
  7286.     * make.c (decode_switches, main): Made the command switches be
  7287.     processed from a table of switches, variables, and types.  No
  7288.     functions are passed argc and argv any more.  They are passed arrays
  7289.     of strings they need to process.
  7290.     * read.c (read_all_makefiles): Made it take an array rather than
  7291.     argc and argv.
  7292.     (construct_include_path): Ditto.
  7293.  
  7294.     * make.c (collapse_continuations): Made it work right (I hope).
  7295.  
  7296.     * make.texinfo: Minor editorial changes.
  7297.  
  7298.     * read.c (read_makefile): Minor speed improvement by freeing and
  7299.     then mallocing something rather than reallocing it to avoid the
  7300.     unnecessary bcopy.
  7301.  
  7302. Thu Aug 11 00:10:43 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7303.  
  7304.     * make.texinfo: Fixed some unquoted @'s.
  7305.  
  7306.     * make.texinfo: Documented multiple-target pattern rules.
  7307.     Miscellaneous minor editorial changes and corrections.
  7308.  
  7309.     * make.texinfo (Implicit: Catalogue of Rules): Removed the list of
  7310.     variables.  That's what the next section is for.
  7311.     (Implicit: Implicit Variables): Made it agree with reality.
  7312.  
  7313. Wed Aug 10 00:55:39 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7314.  
  7315.     * variable.c (print_variable_data_base): Fixed bug which made -p
  7316.     dump core.  (This was a really idiotic bug.)
  7317.  
  7318.     * rule.c (pattern_search): Fixed a bug which made it make the
  7319.     `also_make' member of the file in question nil if the first of
  7320.     the successful rule's targets was the matching one.
  7321.     Made it use only as much storage as necessary in the `also_make'
  7322.     member.
  7323.     (create_pattern): Made it use only as much storage as necessary in
  7324.     the `lens' and `suffixes' members of the created rule.
  7325.  
  7326.     * remake.c (library_file_mtime): Made it `static'.
  7327.  
  7328.     * file.c: Added a declaration for `errno', which is declared in some
  7329.     <errno.h>'s, but not all.
  7330.  
  7331.     * file.h (struct file): Added `also_make' member for multiple-target
  7332.     implicit rules.
  7333.     * rule.c (pattern_search): Made it put the names of files updated by
  7334.     the given file's commands in its `also_make' member.
  7335.     * remake.c (update_file_1): Made it mark the files in a file's
  7336.     `also_make' member as updated when the file is updated.
  7337.  
  7338.     * variable.c (try_variable_definition): Fixed a bug which made it
  7339.     define a variable with the name of the whole definition when there
  7340.     was no space before the = or :=.
  7341.  
  7342.     * make.texinfo (Features): Made the changes which were made in RCS
  7343.     revision 2.7 but somehow lost since then.  Added -W.
  7344.  
  7345. Tue Aug  9 10:04:50 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7346.  
  7347.     * variable.h: Added `o_default' to `enum variable_origin'.
  7348.     * variable.c (print_variable_data_base): Made it print the origins of
  7349.     the variables.
  7350.     * rule.c (install_default_pattern_rules): Made it define the default
  7351.     variables with origin `o_default'.
  7352.  
  7353.     * make.texinfo: Documented -W.
  7354.  
  7355.     * make.c (decode_switches, main): Added the -W flag to give files a
  7356.     time-stamp of now, for a `what if' effect when used with -n.
  7357.  
  7358.     * commands.c (print_commands): Made it say `(built-in)' for commands
  7359.     that are built into the default ruleset.
  7360.  
  7361.     * read.c (record_file): Made .SUFFIXES get its deps frontwards (again).
  7362.     * rule.c (set_default_suffixes, convert_to_pattern): Made it read
  7363.     .SUFFIXES's deps frontwards, so the converted rules will not be in
  7364.     reverse order.
  7365.  
  7366.     * rule.c (new_pattern_rule): Fixed a bug wherein it would keep
  7367.     searching after it had removed a matching rule and ended up diddling
  7368.     with freed storage.
  7369.  
  7370.     * rule.c (freerule): Made it take the given rule off the chain.
  7371.     (new_pattern_rule, count_implicit_rule_limits): Use freerule to
  7372.     remove rules from the chain.
  7373.  
  7374.     * vpath.c (construct_vpath_list): Made it return after cleaning out
  7375.     all previous searchpaths when given a nil DIRPATH arg, so it won't
  7376.     go into the construction code and dump core dereferencing a nil
  7377.     pointer.
  7378.  
  7379.     * variable.c (patsubst_expand): Fixed a bug which made it not match
  7380.     correctly and sometimes dump core.
  7381.  
  7382. Mon Aug  8 16:35:48 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7383.  
  7384.     * rule.c (default_suffix_rules): Made the .texinfo.dvi rule remove
  7385.     the files used in the comparison to determine whether or not a
  7386.     second TeX run is necessary.
  7387.  
  7388.     * make.texinfo: Fixed some overfull TeX hboxes.
  7389.  
  7390.     * make.texinfo (Implicit: Catalogue of Rules): Fixed a Texinfo error.
  7391.  
  7392.     * rule.c (create_pattern_rule): Fixed bug wherein index was not
  7393.     being passed its second arg.
  7394.  
  7395.     * read.c (getline): Merged back into readline.
  7396.  
  7397.     * rule.c (default_suffixes, default_suffix_rules,
  7398.     default_variables): Added .texinfo.info rule.
  7399.     * make.texinfo (Implicit: Catalogue of Rules): Documented
  7400.     .texinfo.dvi and .texinfo.info rules.
  7401.  
  7402.     * make.texinfo (Top): Changed `last updated' date to be correct (for
  7403.     the last time it was updated, not today).  Changed `for version
  7404.     3.00' since it's not going to be called that.
  7405.  
  7406. Sat Aug  6 19:51:10 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7407.  
  7408.     * commands.c (print_commands): Added this function to print the
  7409.     contents of a `struct commands' for -p.
  7410.     * rule.c (print_rule_data_base): Use above.
  7411.     * file.c (print_file_data_base): Ditto.
  7412.  
  7413.     * rule.c (count_implicit_rule_limits, new_pattern_rule,
  7414.     install_pattern_rule, print_rule_data_base): Made it understand the
  7415.     changed `struct rule' and act accordingly.
  7416.     (freerule): Added this function to free all the storage used by a rule.
  7417.  
  7418.     * rule.c (pattern_search): Made it grok multiple targets of pattern
  7419.     rules.  The matching is done properly, but at present, only the
  7420.     matching pattern's target is used to give deps and commands.
  7421.  
  7422. Fri Aug  5 18:00:29 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7423.  
  7424.     * rule.c (struct rule): Changed name, namelen, and patsuffix members
  7425.     to targets, lens, and suffixes, which are arrays, for multiple targets.
  7426.     (create_pattern_rule): Now takes first arg TARGETS, a nil-terminated
  7427.     array of targets, rather than a single target and patsuffix pointer.
  7428.  
  7429.     * read.c (record_files): If it finds an implicit pattern rule, it
  7430.     collects all the targets into an array and passes the whole thing to
  7431.     create_pattern_rule.  If there are non-pattern targets, it is a
  7432.     fatal error.
  7433.  
  7434. Tue Aug  2 15:06:38 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7435.  
  7436.     * make.c (readline): Split backslash-newline checking from reading
  7437.     and buffer-expanding.
  7438.     (getline): Created to do the reading and buffer-expanding formerly
  7439.     done in readline.
  7440.  
  7441.     * rule.c (pattern_search): Made it reject nonterminal match-anything
  7442.     rules when a specific rule has matched, rather than rejecting
  7443.     terminal match-anything rules in this case.
  7444.  
  7445.     * rule.c (convert_to_pattern): Fixed a bug caused when the change to
  7446.     make it only recognize two-suffix rules whose target suffixes
  7447.     precede their dependency suffixes which made it work in the opposite
  7448.     direction (even worse than it started out).
  7449.  
  7450.     * rule.c (pattern_search): Made it reject nonterminal match-anything
  7451.     rules as intermediate targets when searching for both real and
  7452.     intermediate dependencies, rather than only when searching for
  7453.     intermediate ones.
  7454.  
  7455. Sun Jul 31 00:33:56 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7456.  
  7457.     * rule.c (convert_to_pattern): Made it only recognize two-suffix
  7458.     rules whose target suffix comes before the dependency suffix in the
  7459.     .SUFFIXES list.
  7460.  
  7461.     * variable.c (define_automatic_variables): Made all automatic
  7462.     variables be defined with origin `o_automatic'.
  7463.  
  7464.     * variable.h: Added `o_automatic' to `enum variable_origin'
  7465.  
  7466.     * file.c (remove_intermediates): Made it not print an error message
  7467.     if the error was that the file does not exist.
  7468.  
  7469.     * rule.c: Removed `recursive' member from `struct rule'.
  7470.  
  7471.     * remake.c (library_file_mtime): Made it not use the directory hash
  7472.     functions, as reading in and hashing /usr/lib and /lib is slow and
  7473.     most likely unnecessary.
  7474.  
  7475.     * remake.c (remake_file): Changed message from ``No specification
  7476.     for making'' to ``No way to make'' so it will be short enough that
  7477.     most filenames will fit on a line.
  7478.     Made it look at the `recursive' member of the `struct commands',
  7479.     rather than of the `struct file' (which no longer has one).
  7480.  
  7481.     * commands.c (execute_file_commands): Made it look at the
  7482.     `recursive' member of the `struct commands', rather than of the
  7483.     `struct file' (which no longer has one).
  7484.  
  7485.     * file.h: Removed `recursive' member from `struct file'.
  7486.  
  7487.     * commands.h: Added `recursive' member to `struct commands'.
  7488.  
  7489.     * dep.h: Removed unused `quotedparen' member from `struct nameseq'
  7490.     and `struct dep'.
  7491.  
  7492.     * read.c (dequote): Removed this function.
  7493.     (multi_glob): Removed reference to `quotedparen' member of
  7494.     a `struct nameseq' and calls to dequote.
  7495.  
  7496.     * read.c (record_files): Made it set the stem for $* for all static
  7497.     pattern rules, not just those with commands given at that time.
  7498.     Removed check for recursive commands.
  7499.     Made it check for pairs of .SUFFIXES dependencies to reject as
  7500.     default goals as well as single ones (that don't start with dots).
  7501.     (read_makefile): Added checks for recursive commands to set
  7502.     the `recursive' flag in the `struct commands'.
  7503.  
  7504. Sat Jul 30 15:47:23 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7505.  
  7506.     * make.c (find_next_token): Made the LENGTHPTR arg optionally nil.
  7507.  
  7508.     * make.c: Removed `files_made' variable which is defined static in
  7509.     remake.c and used only there.
  7510.     (main): Cleaned up somewhat.
  7511.     (decode_switches): Cleaned up a bit.  Made an unknown option be a
  7512.     non-fatal error.
  7513.     (decode_env_switches): Made LEN arg unsigned.  Cleaned up.
  7514.     (print_version): Made it say ``see the source'' rather than ``see
  7515.     the source file'', since there is more than one.
  7516.  
  7517.     * file.h: Made `num_intermediates' declared unsigned.
  7518.  
  7519.     * file.c: Made `num_intermediates' variable unsigned.
  7520.     (remove_intermediates): Removed unused FORMAT arg.
  7521.     (enter_file): Made it handle double-colon files properly, adding the
  7522.     new entry as the old entry's prev pointer.
  7523.  
  7524.     * dir.c: Re-indented the `struct dir' definition to be right.
  7525.     (dir_load): Cleaned up slighty.
  7526.     (file_exists_p): Removed comment saying we could use `access', since
  7527.     that is a bad idea (except for setuid programs).  Cleaned up slightly.
  7528.  
  7529.     * commands.c: Changed some comments slightly.
  7530.     (execute_file_commands): Cleaned up a bit.  Changed some comments,
  7531.     added others.  Moved freeing of storage for $^ and $? to the same
  7532.     place as for the other automatic variables.
  7533.     (execute_command_line): Made `#' trigger a shell.
  7534.     Added some comments.  Cleaned up a bit.  Put all the special chars
  7535.     that trigger shells into an array easily changeable at the top.
  7536.  
  7537.     * ar.c: Added comments explaining each function.
  7538.     (ar_scan_1): Merged into ar_member_date.
  7539.     (ar_member_date): Changed call to ar_scan_1 to the body of that
  7540.     function.
  7541.     (ar_member_date_1): Simplified to a ?: expression rather than an
  7542.     if-else statement.
  7543.     (ar_member_touch): Changed error handling around a bit.
  7544.     None of these errors are fatal now.
  7545.  
  7546.     * variable.c (subst_expand): Added a new arg BY_WORD, to do substs
  7547.     only on full words.
  7548.     (patsubst_expand): Fixed bug which made calls whose patterns
  7549.     contained no `%' to not work correctly, by using above.
  7550.     (variable_expand): Pass extra arg to `subst_expand'.
  7551.  
  7552.     * variable.c (expand_function): Fixed bug which made `foreach' calls
  7553.     with one-word lists run off into never-never land.
  7554.  
  7555. Fri Jul 29 20:12:36 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7556.  
  7557.     * variable.c (expand_function): Made a very minor speed improvement
  7558.     by avoiding an unnecessary strlen call.
  7559.  
  7560. Wed Jul 27 16:01:47 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7561.  
  7562.     * rule.c (default_suffixes): Rearranged the list somewhat; added
  7563.     `.el' and `.elc' to speed things up (especially when building
  7564.     Emacs), for the same reason `.h' is there.
  7565.  
  7566.     * read.c (record_files): Changed `lineno' from `long' to
  7567.     `unsigned int'.
  7568.  
  7569. Sun Jul 24 02:15:30 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7570.  
  7571.     * variable.c (expand_function): Eliminated use of `wstok'
  7572.     because it is non-reentrant and unreliable.
  7573.     Fixed a minor bug which would cause something not to be freed.
  7574.     * make.c (wstok): Removed `wstok' because it is no longer used.
  7575.  
  7576.     * variable.c (expand_function): Made `foreach' function put
  7577.     spaces between output texts like it's supposed to.
  7578.     
  7579. Sat Jul 23 17:32:55 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7580.  
  7581.     * rule.c (default_suffixes, default_suffix_rules): Added rule
  7582.     to make %.dvi from %.texinfo.
  7583.  
  7584.     * dir.c (print_dir_data_base): Made it say a bit more.
  7585.  
  7586. Fri Jul 22 23:13:16 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7587.  
  7588.     * make.c (print_data_base): Split this function up into one
  7589.     for each thing.
  7590.     * variable.c (print_variable_data_base): One of the above.
  7591.     * rule.c (print_rule_data_base): Ditto.
  7592.     * file.c (print_file_data_base): Ditto.
  7593.     * dir.c (print_dir_data_base): Ditto.
  7594.  
  7595.     * rule.c (install_pattern_rule): Fixed a bug which caused the
  7596.     terminal and recursive flags to always be zero for rules
  7597.     entered by this function.
  7598.  
  7599.     * make.texinfo (Rules: Double-colon): Added a paragraph
  7600.     explaining the purpose of double-colon rules.
  7601.  
  7602.     * make.texinfo (Implicit: Catalogue of Rules): Updated to
  7603.     reflect new C++, TeX, Web, and Texinfo rules.  Other slight
  7604.     editorial changes.
  7605.  
  7606.     * commands.c (execute_file_commands): Fixed a bug wherein
  7607.     random memory could get written for files with no deps.
  7608.     
  7609. Wed Jul 20 19:30:31 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7610.  
  7611.     * read.c (readline): Fix bug wherein it would not recognize a
  7612.     backslash-newline if the buffer filled up and was enlarged
  7613.     right before reading the newline.
  7614.     
  7615. Tue Jul 19 19:55:02 1988  Roland McGrath  (mcgrath at chilli.Berkeley.EDU)
  7616.  
  7617.     * read.c: Added default suffix rules for .cc (using $(C++),
  7618.     which defaults to `g++', and $(C++FLAGS)), .tex, .dvi, .web
  7619.     and .cweb (using $(TEX), $(WEAVE), $(TANGLE), $(CWEAVE) and
  7620.     $(CTANGLE)).
  7621.     
  7622. Sat Jul 16 21:24:28 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7623.  
  7624.     * Made error formats use %u rather than %ld for line numbers,
  7625.     which are now unsigned int's rather than long's.
  7626.  
  7627.     * read.c (conditional_line): Fixed some bugs caused by use of
  7628.     unsigned int rather than int in one place.
  7629.  
  7630.     * read.c (conditional_line): Put the info about active
  7631.     conditionals in a struct.
  7632.     (read_makefile): Make a new struct of info about conditionals
  7633.     for included makefiles and restore the old one after the
  7634.     included makefile has been read.
  7635.  
  7636.     * read.c (read_makefile): Don't try to read a makefile with
  7637.     name "" after giving an error message because an `include'
  7638.     directive gave no filename.
  7639.  
  7640.     * read.c (read_makefile): Give an error message for
  7641.     non-whitespace text after the filename in an `include' directive.
  7642.  
  7643.     * make.c (error): Take five args, like `fatal'.  It managed to
  7644.     lose with only two.  Is there a better way to do this without vfprintf?
  7645.  
  7646.     * read.c (read_makefile): Commands consisting of only
  7647.     whitespace are not the same as no commands.  I thought I'd
  7648.     fixed this bug months ago; it seems to have come back.
  7649.  
  7650.     * make.c (collapse_continuations): All whitespace around a
  7651.     backslash-newline combination is turned into a single space.
  7652.  
  7653.     * Added COPYING file and copyright notices to all files.
  7654.  
  7655.     * make.texinfo (Running: Goals): Fix a typo.
  7656.  
  7657.     * read.c (do_define): Take an arg for the origin of the
  7658.     variable being defined.
  7659.     (read_makefile): Grok `override define'.
  7660.  
  7661.     * make.texinfo (Variables: Override Directive, Defining):
  7662.     Document the `override define' combination directive.
  7663.  
  7664.     * ar.c (ar_member_date): Make a 0 return from `ar_scan' return
  7665.     (time_t) -1 (nonexistent file), rather than (time_t) 0, which,
  7666.     when put in the `struct file', makes `file_mtime' try to get
  7667.     the mtime over and over again.
  7668.  
  7669.     * variable.c (pattern_matches): Fix a bug that made patterns
  7670.     not beginning with `%' never match.
  7671.     
  7672. Fri Jul 15 21:01:44 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)
  7673.  
  7674.     * Took Make out of RCS.
  7675.  
  7676.     * Split the monolithic `make.c' into several smaller files.
  7677.